Skip to content

Phone Verification - Invalid Token - FIRAuth Error Domain Code 17048 - With APN Authentication key #442

@RachitTechnology

Description

@RachitTechnology

Step 2: Describe your environment

  • Objective C or Swift: Objective C
  • iOS version: All Versions
  • Firebase SDK version: latest pod update ( as of 6-May-2018)
  • FirebaseUI version: latest pod update ( as of 6-May-2018)
  • CocoaPods Version: latest pod update ( as of 6-May-2018)

Step 3: Describe the problem:

We have Phone Verification working without any issue in Android. Tried integrating with FirebaseUI for iOS and was getting error with phone verification "Invalid Token - FIRAuth Error Domain Code 17048" ( Other verifications are working correctly )

Followed instruction from this link https://firebase.google.com/docs/auth/ios/firebaseui

Steps to reproduce:

  1. Setup Phone number verification as mention in link https://firebase.google.com/docs/auth/ios/firebaseui.
    Uploaded "APNs Authentication Key"
    "APNs authentication key under iOS app configuration, click the Upload button. "

If we delete APN's Authentication key and upload APNs Certificates ( prod and dev ) phone verification is done without any issue

Observed Results:

Phone Verification fails with error Invalid Token - FIRAuth Error Domain Code 17048
If we delete APN's Authentication key and upload APNs Certificates ( prod and dev ) phone verification is done without any issue

Expected Results:

allos phone verification

Relevant Code:

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions