I've update the Android SDK and the internal libs and now I get the same error from this post:
https://www.b4x.com/android/forum/threads/solved-error-in-firebasemessaging-service.112202/
I don't use the FirebaseConfigRemote in this app, but AdMob, Analytics, Notifications and Storage.
If I change to the old SDK or remove the FirebaseStorage lib, the errors don't happen.
Do I need an update the FirebaseStorage lib?
This is the error:
https://www.b4x.com/android/forum/threads/solved-error-in-firebasemessaging-service.112202/
I don't use the FirebaseConfigRemote in this app, but AdMob, Analytics, Notifications and Storage.
If I change to the old SDK or remove the FirebaseStorage lib, the errors don't happen.
Do I need an update the FirebaseStorage lib?
This is the error:
B4X:
firebasemessaging_subscribetotopics (java line: 265)
java.lang.RuntimeException: Object should first be initialized (FirebaseMessaging).
at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:50)
at anywheresoftware.b4a.objects.FirebaseNotificationsService$FirebaseMessageWrapper.SubscribeToTopic(FirebaseNotificationsService.java:130)
at br.com.myprofiles.firebasemessaging._subscribetotopics(firebasemessaging.java:265)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1179)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)