I’m developing an Ionic app with the following versions:
Ionic: 8.x
Angular: ^18.x
@capacitor-firebase/authentication: ^6.3.1
Capacitor: 6.x
I’m trying to implement Firebase Authentication (phone method) on iOS. I’ve followed the setup suggested in the official @capacitor-firebase/authentication documentation, including:
Adding the GoogleService-Info.plist file to the Xcode project.
However, when I try to perform an authentication operation (e.g., sign in with the phone method), I encounter the following error in the console when running the app on iOS:
The reCAPTCHA configuration in the Firebase console.
That the GoogleService-Info.plist file is in the correct location and added to the Xcode project.
The APNs Key setup in Firebase for notifications.
Questions:
What does the error code 0x301552840 mean in the context of iOS?
Are there any additional steps for configuring Firebase or Xcode that I might be missing?
Could this error be related to the reCAPTCHA setup or to the versions of the libraries I’m using?
Any guidance or suggestions would be greatly appreciated. If you need more details, such as additional configurations or Xcode logs, I can provide them.
Some guidance on the subject would be very helpful because I have little experience and I’ve been dealing with this problem for almost a month and I can’t find how to solve it.
Appreciate the quick response. I’ll follow that issue although that seems related to iOS 16 specifically. I’m testing on 17 and 18. I can add that to the issue.
Do you know if the changes to auth mentioned in the post below are still relevant in the current version? I tried implementing the logic related to indexedDBLocalPersistence but still no luck. I ask because this dates back to Capacitor 3 and I didn’t see any reference to this in the current implementation guides.