flutter_background_service
flutter_background_service copied to clipboard
Watchdog crash on Android
Hi,
Would it be possible to only receive watchdog events when the background service is registered and started up? It looks like the watchdog receiver triggers even if we don't need the background functionality leading to application crashes.
Hi, any ideas on why this might be happening or what I can do to prevent these errors? I'd rather the service exit gracefully in these cases instead of having the application process crash.
I think here is the similar issue https://stackoverflow.com/questions/69604951/getting-android-app-foregroundservicestartnotallowedexception-in-android-12-sdk
I'd updated the alarm manager used by WatchdogReceiver to setExact, could you try it @Wackymax ?
getting the same error sometimes. i am using version ^2.4.5
Any fix for this?