checkAndLogRevocations

Checks the current state of all tracked permissions and logs any changes.

This method should be called during app startup and whenever the app returns to the foreground to detect permission changes. It compares the current permission states with the previously recorded states and logs appropriate analytics events for any changes.

Parameters

ctx

The application context used to check permission states

See also

hasUsageAccess(Context)
hasOverlayPermission(Context)
hasNotificationsPermission(Context)
logRevoked(Context, String)
logGranted(String)