Firebase phone auth Error: Invalid token. at nativeToJSError
Solution 1:
Check the following:
- Correct bundle Id
- Correct Google-Info.plist
- Correct aps-environment value
- Upload the APNS authentication key (p8) instead of certificates
Hope you find it helpful.
Solution 2:
I think this can happen if the bundle id of the app trying to access firebase doesn't match the bundle id registered in the firebase console.