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
verifyPhoneNumber don't work this._auth.emitter.once is not a function #4696
Comments
I don't think this will be your problem but careful with the versions, they are locked together now so should be all 10.3.1 Have you attempted to track down in node_modules/@react-native-firebase/auth what is being called exactly? |
I have tried, Before update to 10.3.0 try on 10.2.0 and don't work Thanks for your recommendation, now all updated to the last version. |
Strange! I use this in my app and while I don't have automated testing around it I know I had it working at some point. I'll investigate. (note I transferred this issue to the main repository, it's not a docs issue I don't think) |
I am facing the same problem on my android physical device. Any updates? |
Ah! This was solved. It was a forward port needed for react-native 0.64. I did that and released it: #5042 - you need v11.1.2 or higher of react-native firebase |
I updated react-native to 0.64 and react-native-firebase to v11.2.0 but I has the same problem did I do it correct way ? Code : |
If you have v11.2.0 then things should work, my guess is there is some level of caching happening meaning that you have the updated dependency version but that's not the actual code running. |
I try run
auth().verifyPhoneNumber(phoneNumber)
like documentation examples (use on and then syntax
) and show this message in a console. Same result in rnFirabse 10.3.0 and 10.2.0.All other Auth methods work fine in js engine and Hermes
my code
Env
The text was updated successfully, but these errors were encountered: