React Native phone authentication with Firebase
Phone Authentication Go to your Firebase dashboard and create an Android and iOS application named com.projectName. You’ll get two files called googleservices.json for Android and googleServices-Info.plist for iOS. We’ll need these two files for integrating firebase services in our React Native application. Enable phone authentication in your Firebase dashboard. Enable Phone Number sign-in for your Firebase project To sign in users by SMS, you must first enable the Phone Number sign-in method for your Firebase project: In the Firebase console , open the Authentication section. On the Sign-in Method page, enable the Phone Number sign-in method. Installation for Android Place the googleservices.json inside the android>app folder. Follow the below steps to initialize your Firebase in your Android version of the application. Add the below code in build.gradle 'com.google.gms:google-serv...