flutter_background_service icon indicating copy to clipboard operation
flutter_background_service copied to clipboard

app shutting down

Open urahamat01 opened this issue 1 year ago • 2 comments

D/FlutterLocationService(16010): Stop service in foreground. D/AndroidRuntime(16010): Shutting down VM E/AndroidRuntime(16010): FATAL EXCEPTION: main E/AndroidRuntime(16010): Process: com.example.theapp, PID: 16010 E/AndroidRuntime(16010): java.lang.NullPointerException: Attempt to invoke virtual method 'void io.flutter.plugin.common.MethodChannel.invokeMethod(java.lang.String, java.lang.Object)' on a null object reference E/AndroidRuntime(16010): at id.flutter.flutter_background_service.BackgroundService$2.run(BackgroundService.java:254) E/AndroidRuntime(16010): at android.os.Handler.handleCallback(Handler.java:942) E/AndroidRuntime(16010): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(16010): at android.os.Looper.loopOnce(Looper.java:226) E/AndroidRuntime(16010): at android.os.Looper.loop(Looper.java:313) E/AndroidRuntime(16010): at android.app.ActivityThread.main(ActivityThread.java:8757) E/AndroidRuntime(16010): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(16010): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) E/AndroidRuntime(16010): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067) I/Process (16010): Sending signal. PID: 16010 SIG: 9

urahamat01 avatar Jun 15 '23 09:06 urahamat01

I have the same problem

omarm3118 avatar Jun 15 '23 11:06 omarm3118

I am facing the same issue only above android version 12 and up ,any solution?

jaypathak9460 avatar Jun 15 '23 12:06 jaypathak9460