Native Script Firebase Phone number login iOS


#1

I am running my application on the iOS real device. While trying to use firebase phone number authentication getting the below error,

My Code:

firebase.login({
type: firebase.LoginType.PHONE,
phoneOptions: {
phoneNumber: ‘+123456789’,
verificationPrompt: “The received verification code” // default “Verification code”
}
}).then(
function (result) {
JSON.stringify(result);
},
function (errorMessage) {
console.log(errorMessage);
}
);

Error
If app delegate swizzling is disabled, remote notifications received by UIApplicationDelegate need to be forwarded to FIRAuth’s canHandleNotificaton: method.

Can anyone help me to resolve this issue?


#2

Hi , have you found some solution?