All Questions
342 questions
0
votes
0
answers
41
views
Firebase Authentication not working in Android 14
In Firebase Authentication version 33.10.0, it is not working in my project when using compile SDK version 35. However, when I use Firebase BOM version 28.2.1, the authentication section works ...
0
votes
0
answers
29
views
How do I stop my app from auto-logging my Android device in when testing?
I am testing authentication with a mobile app. I am using Firebase's authentication service. I tested it once before using an Android device, and would like to test it again.
The first time I tested ...
1
vote
2
answers
36
views
Set activity for Firebase authentication in MVVM [closed]
I want to use Firebase to authenticate user via phone in an Android app. The doc says to do this
val options = PhoneAuthOptions.newBuilder(auth)
.setPhoneNumber(phoneNumber) // Phone number to ...
7
votes
0
answers
1k
views
KMM error: java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'
Any idea how to solve this error using Firebase Auth:
suspend fun createNewUser(user: UserInfo, password: String) {
val userCredential = auth.createUserWithEmailAndPassword(user.email, password)
...
0
votes
0
answers
39
views
GoogleAuthClient signIn() Returns Null IntentSender in Firebase Authentication
I'm implementing Google Sign-In with Firebase Authentication using One Tap sign-in in my Android app. However, when calling signIn() in my custom GoogleAuthClient, the IntentSender is returning null.
...
0
votes
1
answer
62
views
How can I verify whether the email exists using Firebase?
I have implemented the firebase authentication using google and using email and password but the issue is the user can just type in the email that just does not exist. So how can i make sure that the ...
1
vote
2
answers
50
views
get Kotlin.Unit returned , new situation
This question is related to Android app development in Kotlin. So, the thing is I want to update the username on my app (using Firebase) and save it so the updated username shows in the profile ...
1
vote
1
answer
40
views
How can I initiate a Jetpack Compose AlertDialog from within a onClick (from onClickListener) or onComplete (from onCompleteListener) function
I am working to convert an existing Kotlin application to Kotlin MultiPlatform and Jetpack Compose.
As part of a login activity, I sign in the user and direct logic from there. Part of the sign-in ...
0
votes
0
answers
39
views
firebase auth invalid email [duplicate]
I am not able to know how to show the user that his email or password is wrong. Although I have done everything but nothing happens. The code is below ->
auth.signInWithEmailAndPassword(email, ...
2
votes
1
answer
56
views
Login Screen Appears For a Moment Before Redirecting to Main Screen in Android App
I'm currently developing an Android app using Jetpack Compose. My app has a login screen that uses Firebase Authentication (Google Sign-In). When the user is already logged in, I want the app to ...
0
votes
1
answer
84
views
Android Firebase Sign In with Pre-Built UI - Email Link Authentication
I'm using the Android Firebase Sign In with Pre-Built UI and trying to get the Email Link Authentication to work.
I can successfully open the Android App in the Main Activity if I hardcode the email.
...
0
votes
0
answers
33
views
FirebaseAuth.getInstance().verifyIdToken(authHeader.blob) is not verifying TokenID from Firebase
Context
I'm currently learning Ktor and have created a simple backend to authenticate users. To achieve this, I set up a Firebase account and integrated the Firebase Admin SDK into my Ktor project ...
1
vote
0
answers
79
views
Firebase Phone Authentication: onCodeSent() Called But OTP Not Received on Android
I'm implementing phone number authentication in my Android app using Firebase. I'm able to initiate the verification process, and the onCodeSent() callback is triggered in my UserRepositoryImpl class, ...
0
votes
1
answer
30
views
What is the ideal way to push updates from a helper util class, like a LoginUtil.kt, to the ViewModel and the UI itself subsequently?
I am trying to make a LoginUtil.kt class in my Android App. In short, the class is supposed to be a simpler high-level interface for the ViewModel to interact with to log in and log out within the app....
-1
votes
1
answer
33
views
Why is verify user email by email link using firebase failing?
in my app the user logged in using phone number auth from firebase , after logged he can add his email from profile fragment , i want to verify this email by sending email link from firebase but the ...