Hi!
I was testing FirebaseAuthex2, I find two problems.
First
the resetpassword function not found.
I Verify in Firebase and in the email account, do not execute the command It does not return any errors and does not call the function:
second
Trying to create an account generates the following error.
I Verify that the mail and password have values
Thanks for helping
I was testing FirebaseAuthex2, I find two problems.
First
the resetpassword function not found.
B4X:
Sub btnResetPassword_Click
authex.sendPasswordResetEmail("xxxxxxxx")
End Sub
I Verify in Firebase and in the email account, do not execute the command It does not return any errors and does not call the function:
B4X:
Sub AuthEx_PasswordReset(success As Boolean)
Log($"AuthEx_PasswordReset(${success})"$)
End Sub
second
Trying to create an account generates the following error.
I Verify that the mail and password have values
Error occurred on line: 73 (crea_cuenta_mail)
java.lang.NullPointerException: Activity must not be null
at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gmslay-services-basement@@17.1.0:11)
at com.google.android.gms.common.api.internal.LifecycleActivity.<init>(com.google.android.gmslay-services-basement@@17.1.0:2)
at com.google.android.gms.common.api.internal.LifecycleCallback.getFragment(com.google.android.gmslay-services-basement@@17.1.0:7)
at com.google.android.gms.tasks.zzu$zza.zza(Unknown Source)
at com.google.android.gms.tasks.zzu.addOnCompleteListener(Unknown Source)
at de.donmanfred.FirebaseauthExwrapper.signInWithEmailAndPassword(FirebaseauthExwrapper.java:58)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:777)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:354)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:180)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:176)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:4793)
at android.view.View$PerformClick.run(View.java:19950)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Thanks for helping