On my andoird app to do Automatic SMS Verification I can use this:
"Automatic SMS Verification with the SMS Retriever API"
https://developers.google.com/identity/sms-retriever/overview
Nice.
But to do Automatic SMS Verification I can also use Firebase:
"Authenticate with Firebase on Android using a Phone Number"
https://firebase.google.com/docs/auth/android/phone-auth
What is difference between this two approaches?
Malcolm from the Firebase team here. There are many differences between the two! Let me try to point out a couple of the important differences:
TL;DR: If you're already sending your own SMS messages, use the SMS Retriever API for better UX. If you want the full validation flow handled for you, use Firebase Auth. I hope that that helps!