Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I verify a phone number using firebase and react-native?

I'm trying to make an app which needs a phone number verification. Is this possible?

I tried to use digits but it's not longer available

like image 514
jorexe Avatar asked May 23 '17 20:05

jorexe


People also ask

How do I verify my number on Firebase?

In the Firebase console, open the Authentication section. In the Sign in method tab, enable the Phone provider if you haven't already. Open the Phone numbers for testing accordion menu. Provide the phone number you want to test, for example: +1 650-555-3434.

Can I use Firebase with react native?

Firebase is a Backend as a Service (BaaS) that provides an advantage to mobile developers who use React Native for developing mobile applications. As a React Native developer, by using Firebase you can start building an MVP (minimum viable product), keeping the costs low and prototyping the application pretty fast.


2 Answers

Yes, it is possible. Firebase phone number authentication is the replacement to Digits, as explained here.

like image 178
Jeff Avatar answered Sep 28 '22 07:09

Jeff


Use Twilio to send veryfication SMS to user provided phone number, or use Facebook Account Kit, which among other methods offers verification by phone number. And it's free.

like image 45
Andreyco Avatar answered Sep 28 '22 06:09

Andreyco