RNFB Phone Auth setup in Expo #5787
-
Sorry that this question is partly outside of scope for this project, but I figured only someone familiar with this project would give the most accurate answer. I'm setting up RNFB in managed expo through a expo-dev-client. More specifically I'm migrating from the JS web SDK for firebase and expo-firebase-recaptcha to using Another point of confusion is that the long URL scheme suggested by the error log doesn't really match the format of the REVERSED_CLIENT_ID which the firebase docs say should be the custom URL scheme. @barthap I've seen that you're the Expo-RNFB expert. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Update: Old answer: Regarding the error - it means the URI scheme is not configured. As far as I know, there's a command to add a scheme to an expo project without opening Xcode:
It should be run when android/ios directories are already generated, so after running I'm afraid I'm not able to help much more atm. Edit:
Everything what is done in |
Beta Was this translation helpful? Give feedback.
Update:
React Native Firebase 16.4.0 now has built-in Expo config plugin for Phone Auth (by #6645) - see the configuration instruction
Old answer:
I have no experience with phone auth nor expo-firebase-recaptcha, but after taking a quick look at its source code I see that it used WebView and Firebase web API.
Regarding the error - it means the URI scheme is not configured. As far as I know, there's a command to add a scheme to an expo project without opening Xcode:
It should be run when android/ios directories are already generated, so after running
expo prebuild
. A documentation for this command is here.I'm afraid I'm not able to help much more atm.
E…