Skip to content
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

Firebase Auth : [auth/unknown] A network error (such as timeout, interrupted connection or unreachable host) has occurred #3855

Closed
ththugues44 opened this issue Jun 29, 2020 · 7 comments
Labels
plugin: authentication Firebase Authentication Workflow: Waiting for User Response Blocked waiting for user response.

Comments

@ththugues44
Copy link

Hello ,

My Application is in production and the verification works well, but I have a problem with the verification of phone numbers on phones Samsung and other with run Android 5.X , 7.0.

The exeution of this code:

firebase
         .auth ()
         .verifyPhoneNumber (phoneFullNumber)

generate the error: [auth/unknown] A network error (such as timeout, interrupted connection or unreachable host) has occurred

My Package :
"@react-native-firebase/app": "^6.4.0",
"@react-native-firebase/auth": "^6.3.4",
"react-native": "0.61.5"

Thanks

@mikehardy
Copy link
Collaborator

Definitely upgrade to most current stable versions of the software (including overriding the firebase SDKs to their most current versions - they do work fine) before we try troubleshooting

@mikehardy
Copy link
Collaborator

Secondly, follow the issue template...

@andersonaddo andersonaddo added plugin: authentication Firebase Authentication Workflow: Waiting for User Response Blocked waiting for user response. labels Jun 29, 2020
@ththugues44
Copy link
Author

@mikehardy I have proceeded to an update, as requested:

     "@ react-native-firebase / app": "^ 7.3.1",
     "@ react-native-firebase / auth": "^ 8.0.8",

but the users who are on android 5.X always encounter this same problem of [auth / network-request-failed] A network error

Thank you

@mikehardy
Copy link
Collaborator

Only on Android 5? 🤔 have you checked even farther down, to Android 4.1? The only differences I'm aware of that require special handling down on those older APIs are for TLS1.2 support (but firebase handles things for you) and MultiDex (which you have to set up yourself)

You didn't follow the template at all though so I can't help

@ththugues44
Copy link
Author

@mikehardy Please where can I have the template ?

@mikehardy
Copy link
Collaborator

Close this issue, and open a new one, and this time don't delete the thing in the text box asking you for information, rather, provide the information requested.

@ththugues44
Copy link
Author

ththugues44 commented Jun 29, 2020

@mikehardy => New problem #3858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: authentication Firebase Authentication Workflow: Waiting for User Response Blocked waiting for user response.
Projects
None yet
Development

No branches or pull requests

3 participants