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
Is your feature request related to a problem? Please describe.
On Android devices, battery optimization settings can interrupt or restrict background location tracking. This leads to inconsistent behavior when accurate and continuous location updates are required.
Describe the solution you'd like
We request the addition of support for the ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent in the Capacitor background geolocation plugin. This would enable developers to prompt users to exempt the app from battery optimizations.
Describe alternatives you've considered
There are no reliable workarounds to bypass Android’s battery optimization restrictions without user intervention.
Additional context
Adding this support will allow developers to ensure consistent and uninterrupted background location tracking on Android devices.
The text was updated successfully, but these errors were encountered:
I have tried to avoid adding Android or iOS specific features to this plugin, but I agree that this one is pretty important. Unfortunately it depends on the <uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> permission, even if the app never uses this feature. Could that be an impediment to Play Store review?
Is your feature request related to a problem? Please describe.
On Android devices, battery optimization settings can interrupt or restrict background location tracking. This leads to inconsistent behavior when accurate and continuous location updates are required.
Describe the solution you'd like
We request the addition of support for the ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent in the Capacitor background geolocation plugin. This would enable developers to prompt users to exempt the app from battery optimizations.
Describe alternatives you've considered
There are no reliable workarounds to bypass Android’s battery optimization restrictions without user intervention.
Additional context
Adding this support will allow developers to ensure consistent and uninterrupted background location tracking on Android devices.
The text was updated successfully, but these errors were encountered: