hi
i am getting lately some crash reports in my console on android 8 in my firebase service.
i have followed the tutorial (how serviced are working in android 8) and also the firebase tutorial but still get those crashes. the weird thing is that i am not sending any push messages to the devices so it happens i guess on app start where i initialize firebase or something like that.
any ideas why i am getting it?
i am getting lately some crash reports in my console on android 8 in my firebase service.
i have followed the tutorial (how serviced are working in android 8) and also the firebase tutorial but still get those crashes. the weird thing is that i am not sending any push messages to the devices so it happens i guess on app start where i initialize firebase or something like that.
any ideas why i am getting it?
java.lang.RuntimeException:
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:3694)
at android.app.ActivityThread.-wrap21 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1801)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6938)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1538)
at android.app.ContextImpl.startService (ContextImpl.java:1484)
at android.content.ContextWrapper.startService (ContextWrapper.java:663)
at anywheresoftware.b4a.keywords.Common.StartService (Common.java:884)
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand (ServiceHelper.java:211)
at www.sagital.mysalarynew.firebasemessaging.onStartCommand (firebasemessaging.java:69)
at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:3677)