ShiIsMe Member Nov 1, 2024 #1 I'm having trouble with my firebase auth I follow instructions from the post of Erel but I got error in my case Sub Process_Globals Private auth As FirebaseAuth End Sub Sub Globals End Sub Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("Main") If FirstTime Then auth.Initialize("auth") End If If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser) End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub Sub Auth_SignedIn (User As FirebaseUser) Log("SignedIn: " & User.DisplayName) End Sub and this is the error Logger connected to: 116517045V000717 --------- beginning of main *** Service (starter) Create *** ** Service (starter) Start ** ** Activity (main) Create (first time) ** main_activity_create (java line: 357) android.content.res.Resources$NotFoundException: String resource ID #0x0 at android.content.res.Resources.getText(Resources.java:453) at android.content.res.Resources.getString(Resources.java:546) at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:82) at ssg.project.main._activity_create(main.java:357) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at ssg.project.main.afterFirstLayout(main.java:105) at ssg.project.main.access$000(main.java:17) at ssg.project.main$WaitForLayout.run(main.java:83) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:8194) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911) can someone help me? Last edited: Nov 1, 2024
I'm having trouble with my firebase auth I follow instructions from the post of Erel but I got error in my case Sub Process_Globals Private auth As FirebaseAuth End Sub Sub Globals End Sub Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("Main") If FirstTime Then auth.Initialize("auth") End If If auth.CurrentUser.IsInitialized Then Auth_SignedIn(auth.CurrentUser) End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub Sub Auth_SignedIn (User As FirebaseUser) Log("SignedIn: " & User.DisplayName) End Sub and this is the error Logger connected to: 116517045V000717 --------- beginning of main *** Service (starter) Create *** ** Service (starter) Start ** ** Activity (main) Create (first time) ** main_activity_create (java line: 357) android.content.res.Resources$NotFoundException: String resource ID #0x0 at android.content.res.Resources.getText(Resources.java:453) at android.content.res.Resources.getString(Resources.java:546) at anywheresoftware.b4a.objects.FirebaseAuthWrapper.Initialize(FirebaseAuthWrapper.java:82) at ssg.project.main._activity_create(main.java:357) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221) at ssg.project.main.afterFirstLayout(main.java:105) at ssg.project.main.access$000(main.java:17) at ssg.project.main$WaitForLayout.run(main.java:83) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.app.ActivityThread.main(ActivityThread.java:8194) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911) can someone help me?