Hello, I have an app with a service #StartAtBoot, this services add Geofence when you restart phone, the same APP has a other services that are active when the APP is running.
One services works with Service.StartForeground.
Sometimes is not always, APP crash, I checked info in play console and I got this message:
java.lang.Exception:
at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:192)
at anywheresoftware.b4a.keywords.Common$11.run (Common.java:1151)
at android.os.Handler.handleCallback (Handler.java:751)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:154)
at android.app.ActivityThread.main (ActivityThread.java:6776)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1386)
I do not know what is causing this error.
Thanks