0.0.9 • Published 1 year ago
@im-adnan/firebase-login v0.0.9
firebase phone number authentication react native expo hook
Run command for install npm i -D @im-adnan/firebase-login
Example
const {recaptcha,recaptchaBanner,sendOtp,verifyOtp} = useFirebaseLogin({auth: /** auth instance from firebase */,firebaseConfig:/** firebase config */});
// for sending otp to phone number
sendOtp('+92XXXXXXXX')
// verify otp
verifyOtp('verification Id','XXXXX')
recaptcha // firebase recpatch element