-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔥 auth/unknown an internal error has occurred on android #2785
Comments
any clue on this? I am stuck |
I'm having a similar issue with phone authentication, on Affects users on: |
Did anyone find the fix? |
Guys i was getting this because i was on Airplane mode |
Hello 👋, to help manage issues we automatically close stale issues.
|
Still having the same issue. |
Have you already tired adding a pre-validated mobile number on firebase portal Moreover you will need to build your application with valid deployment key certificate in release mode (which you can generate it on your machine and add it to your app on firebase on firebase portal) Until i built using release mode with valid certificate i was not able to test it. |
My app which I started building last year worked fine with the auth, now coming back it it I'm getting the API key not valid message as well.. Was there any solution for this in the end? Following error when using '.createUserWithEmailAndPassword' method
|
@Afx31 install fresh google descriptors (GoogleService-Info.plist google-services.json) |
@mikehardy I have already re-installed fresh google-services.json files which didn't do anything. |
Hello 👋, to help manage issues we automatically close stale issues.
|
Make sure to enable the sign-in method you are using via the Firebase console. It's a non-descriptive error. |
Hello 👋, to help manage issues we automatically close stale issues.
|
Still having this issue when calling a function in the cloud while authenticated with email and password |
Hello 👋, to help manage issues we automatically close stale issues.
|
Hello 👋, to help manage issues we automatically close stale issues.
|
i am having the same problem please help |
#1 add a pre-validated mobile number on firebase portal #2 generate new deployment key certificate in release mode on your machine #3 add this certificate it to your app on firebase on firebase portal #4 build in release mode #5 run your app. that worked for me. I was never able to test in debug mode with development certificate. |
Hello 👋, to help manage issues we automatically close stale issues.
|
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information. |
any update on it? |
@lyseiha why would there be an update on a closed issue? It's open source --> all updates are visible. And all comments generate notifications. |
have you found any fix for it? i am facing same issue |
[Error: [auth/unknown] An internal error has occurred. [ Internal error encountered. ]] Getting this error for few mobile numbers only. |
I am also getting this error "[Error: [auth/unknown] An internal error has occurred. [ Internal error encountered. ]]" when I want to fetch OTP for mobile signIn |
Started getting the same error when the code worked previously. |
Same error just now: Error: [auth/unknown] An internal error has occurred. [ Internal error encountered. ] |
This error only happens on Android. I will trying to generate another SHA. Again ... |
Ok, i resolved this with the SHA-1 Certificate Fingerprint, i take it from Expo console. (My app uses Expo). |
Issue
When trying to login with email/password, I get an error on my Android Version 9.0 phone (Pixel 2):
There is very little code here, it's merely:
When I run this exact code on my Android Version 7.0 phone (Samsung Galaxy Note 5), it works just fine.
Project Files
iOS
Click To Expand
ios/Podfile
:# N/A
AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:Firebase
module(s) you're using that has the issue:TypeScript
?Think
react-native-firebase
is great? Please consider supporting all of the project maintainers and contributors by donating via our Open Collective where all contributors can submit expenses. [Learn More]React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: