I did my regular SDK update which included several Firebase updates.
Firebase authentication which worked perfectly fine prior to the update is now broken.
Before someone asks ... B4A 8.0 Target SDK 26, previous fully updated with B4A 8.0 update recommendations. Note: My app worked well before the SDK update.
The following error occurs during the initialization of a FirebaseAuth instance.
Any help would be appreciated.
Firebase authentication which worked perfectly fine prior to the update is now broken.
Before someone asks ... B4A 8.0 Target SDK 26, previous fully updated with B4A 8.0 update recommendations. Note: My app worked well before the SDK update.
The following error occurs during the initialization of a FirebaseAuth instance.
B4X:
*** Service (starter) Create ***
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.firebase.auth.FirebaseAuth.addAuthStateListener(com.google.firebase.auth.FirebaseAuth$AuthStateListener)' on a null object reference
at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:57)
at com.scsoftwarestudios.aicalc.antennas.starter._service_create(starter.java:459)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:139)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at com.scsoftwarestudios.aicalc.antennas.starter.onCreate(starter.java:56)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3339)
at android.app.ActivityThread.-wrap4(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677)
at android.os.Handler.dispatchMessage(Handler.java:106)
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:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
** Service (starter) Start **
Any help would be appreciated.
Last edited: