flutter-android-background
flutter-android-background copied to clipboard
How to keep Flutter apps running in background on Android
LifecycleDetector.kt: (25, 13): Class 'ActivityLifecycleCallbacks' is not abstract and does not implement abstract member public abstract fun onActivitySaveInstanceState(p0: Activity, p1: Bundle): Unit defined in android.app.Application.ActivityLifecycleCallbacks LifecycleDetector.kt: (48, 9): 'onActivitySaveInstanceState' overrides...
Give an error when i use **notifications: ^2.0.1 ** with it the exception is MissingPluginException(No implementation found for method listen on channel notifications) But in others app when in use...
This fixes #10 and makes it work in both obfuscated and non-obfuscated builds. More details are in #10.
I build my apk with obfuscation `flutter build apk --obfuscate --split-debug-info=debuginfo_to_deobfuscate` With this, the background service's persistent notification appears when using Flutter 1.22.6. After upgrading to Flutter 2.2.0, the persistent...
Hi, Is there any way we can restart service if service is killed in background. I saw there are some methods to restart service but it crashing app i think...