Hello I try create connection with phoneNumber with Firebase.
On Android OS all OK but with iOS I have auth/internal-error.
I trie to put GoogleService-info on Xcode but nothing work
code:
import { initializeApp } from “firebase/app”;
import {
getAuth,
signInWithPhoneNumber,
} from “firebase/auth”;
initializeApp(firebaseConfig);
const auth = getAuth();
signInWithPhoneNumber(
auth,
formatPhoneNumberFirebase(phoneNumber),
recaptchaVerifier
)
.then((confirm) => {
confirmationResult = confirm;
resolve();
})
.catch((error) => console.error(error));
1 post - 1 participant