Closed meawiey closed 1 year ago
You should not add the Firebase swift package manually. The Firebase SDK is already installed.
I already remove package firebase
after I build and request otp I found new error "[error] - SMS not sent {"code":"auth/internal-error","customData":{},"name":"FirebaseError"}"
I have just noticed that this issue is not about this project but occurs in your own app. For this reason, I am closing this issue. Unfortunately, I have no idea what the error is. The error message itself is not very descriptive. Make sure that the phone number is formatted correctly. In addition, I would use a fictitious phone number for testing to narrow down the problem (see https://firebase.google.com/docs/auth/android/phone-auth#test-with-fictional-phone-numbers).
Describe the bug I found error "[error] - SMS not sent {"code":"auth/internal-error","customData":{},"name":"FirebaseError"}" when use ionic capacitor firebase in platform IOS
Setup Project & Reproduce
Add package https://github.com/firebase/firebase-ios-sdk.git in x code
initializeApp(firebaseConfig); in app.component.ts
signInAnonymously() in app.component.ts success and receive token firebase
Request OTP and found error "[error] - SMS not sent {"code":"auth/internal-error","customData":{},"name":"FirebaseError"}"
Expected behavior Can use signInWithPhoneNumber and verify OTP
Screenshots
Smartphone (please complete the following information):
Additional context git repo :> https://github.com/meawiey/capacitor_firebase