-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Restrictions on foreground services come with Android 12.
https://developer.android.com/about/versions/12/foreground-services
It may be already working with these 2 options:
After the device reboots and receives the ACTION_BOOT_COMPLETED, ACTION_LOCKED_BOOT_COMPLETED, or ACTION_MY_PACKAGE_REPLACED intent action in a broadcast receiver.
and
The user turns off battery optimizations for your app. You can help users find this option by sending them to your app's App info page in system settings. To do so, invoke an intent that contains the ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent action.
Metadata
Metadata
Assignees
Labels
No labels