-
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
Phone/SMS Auth - enable reCAPTCHA flow for devices with push notifications disabled #461
Comments
@southerneer I've been going through the motions of documenting / testing this end to end for the past couple hours, I'll respond once I've either confirmed the full process works or if I have to fix anything along the way. |
Great, let me know if you need me to test anything on my end. I'm actively working on this today too. |
@Salakar I figured out what was missing from react-native-firebase, will submit a PR in a few minutes |
Ah, awesome :) |
Never mind, it was already good... Looks like you added the |
Ah yes I did that change yesterday (797780f), which means it's already on npm - the full v3 version has been out since the launch of Cloud Firestore |
Out of interest, are you using Would you be able to give Edit: having said that, I only pushed up verify as part of the full v3, doh - so once you've upgraded then if possible can you give it a go, ta. |
I misspoke, we're only using |
Ok, no worries, feel free to make another issue if you come across any issues. We're also all on discord. |
@Salakar what did you mean by "I only pushed up verify as part of the full v3"? Should I therefore switch to using I'm going to implement |
I believe that @Salakar merely meant that If you're experiencing other problems, could you open a new issue with details? |
Gotcha, thanks for clarifying @chrisbianca . At the time I reopened this issue I was grasping at straws because our app was getting rejecting from the Apple App Store. The tester/reviewer couldn't get the expected SMS (or so they claimed). Once a different tester tried the app, though, everything magically resolved itself so I think it was more user error than anything that was wrong with Firebase or react-native-firebase. |
how can I disable robot captcha on firebase for IOS app |
I can't receive the verification code from firebase . How can i resolve this? |
Issue
In #119 there was some mention of the fallback reCAPTCHA flow from the Firebase Auth docs. Is it (or should it be) possible to trigger with the latest v3 of react-native-firebase?
The Firebase docs make it sound like it should "just work" in iOS by adding the
REVERSED_CLIENT_ID
from GoogleService-Info.plist to URL Types in XCode.For devices with push notifications disabled (or simulators) the reCAPTCHA flow should be the fallback option, but I haven't been able to get it to work with react-native-firebase.
My setup works flawlessly on physical devices with push notifications enabled, but when I try to login with a phone number on my simulator I get the following error: "There seems to be a problem with your project's Firebase phone number authentication set-up, please make sure to follow the instructions found at https://firebase.google.com/docs/auth/ios/phone-auth". I've added the REVERSED_CLIENT_ID per the instructions, but at this point it's difficult to tell if the problem lies with react-native-firebase or something I'm still missing in my code.
Environment
The text was updated successfully, but these errors were encountered: