Ali A. Jalil
Ali A. Jalil

Reputation: 921

Firebase number authentication not working after uploading app to App Store

I have developed an app that verifies a user by their phone number using Firebase phone number authentication.

The Android version is working correctly after it was published of Google Play but the iOS version does not receive SMS messages, despite it working correctly during development testing.

Why might this occur?

When uploaded to Google Play, I was asked to provide SHA key details for my app, but I was not asked or even know what the App Store equivalent is of this procedure.

Upvotes: 4

Views: 2999

Answers (1)

gorgi93
gorgi93

Reputation: 2535

I had the same problem. Check that you have APN certificate for production application set in Firebase or event better set APNs Authentication Key instead of handling separate certificates.

Check here how to generate certificate: https://developer.clevertap.com/docs/how-to-create-an-ios-apns-auth-key

After upload this key to Firebase -> Settings -> Cloud messaging under APN Auth key sections.

Upvotes: 12

Related Questions