Reputation: 961
I'm using Google Firebase for Phone Number Verification in iOS (Swift) App. At Every Step I have logged status at my end. Same process works for most, but results error on some devices with No possible information on why its doing like this.
On Most of the process works Fine. FCM Fake Token for Verification is received -> Firebase results with success. SMS is received & Verified.
On Some Phones the process works Wrong. FCM Fake Token for Verification is received -> Firebase results with error -> SMS is NOT received.
Error says "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"
Upvotes: 4
Views: 888
Reputation: 8605
Have you tried switching the sim cards? Just as a debugging step, swap the sim cards between a phone that didn't receive the SMS and one that did. That way, you can tell if the problem is related to your Firebase setup (which I think is unlikely) or the network.
I had an issue where I had my number on a marketing opt-out list, which as a side effect caused several of these kinds of verification SMS messages to be blocked as well. That's one example, but there could be other reasons the network is blocking an SMS as well.
Upvotes: 1