This is an example of a phone authentication project using firebase
Setup Package
if you getting error on code, you must getting all packages
- open terminal
- type "flutter pub get"
Setup Firebase
- create project in firebase
- add platform (android / ios)
- download google-service.json and copy to android/app in this project
- enable firestore and phone authentication, add phone number for testing (recommended)
- in firebase console go to project setting, add sha1 & sha256 (copy code from your keystore)
- done
remove rechapta ?
- go to -> https://console.cloud.google.com/apis/library/androidcheck.googleapis.com
- select project
- enable android device verification
note: rechapta required if using emulator