flutter_background_service icon indicating copy to clipboard operation
flutter_background_service copied to clipboard

Unable to launch background service in low power model.

Open ourdex opened this issue 1 year ago • 1 comments

I am trying to launch a background service in low power mode. But when I do that, I receive the following error.

Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_RESTARTED dat=package:com.bharath.app flg=0x10 (has extras) } to android/com.kddi.android.CpaNotiReceiver

Also, I have disabled the battery optimizations for my app.

Here are the details.

flutter_background_service: 5.0.5 Android device info: Galazy S10, OS: Android 10 Android SDK: 33 flutter version: 3.10.1

P.S: If I run the same service in normal power mode and if I enable the low power mode then this service continues working.

ourdex avatar Feb 12 '24 13:02 ourdex