Open islam2hamy opened 9 months ago
I'm not very experienced with Android development, but isn't this handled automatically by the existing ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent? Found some post saying that a few very old phones required both, but also that adding REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the app manifest will get you banned from Google Play Store so it sounds like it might not be the ideal way to do it.
Hello
isn't this handled automatically by the existing ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent? Found some post saying that a few very old phones required both,
No
but also that adding REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the app manifest will get you banned from Google Play Store so it sounds like it might not be the ideal way to do it.
This is a list on my phone with this permission
Describe the solution you'd like
Using this permission will make app more stability in background
android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS