You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user or system revokes SCHEDULE_EXACT_ALARM permission, the user will receive an exception when attempting to create an notification.
I’m also sure that you need to listen to the Broadcast Receiver for the SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED event in order to reschedule saved notifications
Exception: stacktrace: java.lang.SecurityException: Caller com.noto needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms.
When the user or system revokes SCHEDULE_EXACT_ALARM permission, the user will receive an exception when attempting to create an notification.
I’m also sure that you need to listen to the Broadcast Receiver for the SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED event in order to reschedule saved notifications
Exception:
stacktrace: java.lang.SecurityException: Caller com.noto needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms.
Example of my implementation:
app/src/main/java/com/jobik/shkiper/services/notification_service
The text was updated successfully, but these errors were encountered: