Android Question B4a firebase auth

hitesh.k

Member
Hello there i need help again
I was trying my hand on firebase auth so i added macro in manifest , create a project with same name in firebase and b4x , downloaded firebaseauthphonewrapper 1.9 lib
Added a text box and a button on
Button click event i write
B4X:
authphone.Initialize("authphone")
    Dim pn As String = EditText1.Text
    
    authphone.startPhoneNumberVerification(pn.Trim)
but no SMS has been received i am getting this error
error:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
** Activity (main) Resume **
Verification started: +91983xxxxx76
** Activity (main) Pause event (activity is not paused). **
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
    at androidx.savedstate.SavedStateRegistryController$Companion.create(Unknown Source:2)
    at androidx.savedstate.SavedStateRegistryController.create(Unknown Source:2)
    at androidx.activity.ComponentActivity.<init>(ComponentActivity.java:146)
    at androidx.fragment.app.FragmentActivity.<init>(FragmentActivity.java:108)
    at com.google.firebase.auth.internal.RecaptchaActivity.<init>(com.google.firebase:firebase-auth@@21.1.0:1)
    at java.lang.Class.newInstance(Native Method)
    at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
    at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:45)
    at android.app.Instrumentation.newActivity(Instrumentation.java:1328)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4035)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4312)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2571)
thanks any one plz point out what mistake i am doing.
 

hitesh.k

Member
Android.jar path under Tools - Configure Paths?
Thanks for reply it is android -33 also one more thing i have notice i have added default lib firebaseAuth in project without using it when i remove this lib i get compile error google play service version not found in build
 
Upvote 0

hitesh.k

Member
You shouldn't have problem compiling an app with FirebaseAuth. Create a new project and add it. If it doesn't compile than B4A is misconfigured.
Err coming when running the program not compiling i have tried with all available sdk 28 ,30,33,33.5
But error is same i think b4a is configured corectly problem is elsewere.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…