You can use Firebase Authentication to sign in a user by sending an SMS message to the user's phone. The user signs in using a one-time code contained in the SMS message.
Download this project and remove "google-services.json" from app folder. Then just add Firebase to your Android Project.
These links may help you:
- Add Firebase to your Android Project
- How to set up Firebase in your Project
- Add SHA-1 to Firebase Project. (See verified answer)
Screenshots
- You can download the project, modify the code and use it anywhere you want. Happy Coding :)
Thank you.