0 purchases
sms retriever api plus
sms_retriever_api_plus #
A new Flutter plugin to retrieve the SMS on Android using SMS Retrieval API
How to works #
With the SMS Retriever API, you can perform SMS-based user verification in your Android app automatically, without requiring the user to manually type verification codes, and without requiring any extra app permissions. When you implement automatic SMS verification in your app, the verification flow looks like this:
Reference #
https://developers.google.com/identity/sms-retriever/overview
Getting Started #
To retrieve a app signature. It requires by the SMS .
Below generate key change in debug, release and publish play store generate key changed
String appSignature = await SmsRetrieverApiPlus.getSignature();
copied to clipboard
To start listening for an incoming SMS
String message = await SmsRetrieverApiPlus.initSMSAPI()
copied to clipboard
Generate appSignature for keystore file
keytool -storepass storepass -alias alias -exportcert -keystore file | xxd -p | tr -d "[:space:]" | xxd -r -p | base64 | cut -c1-11
copied to clipboard
Example SMS
[#] Your example code is:
123456
appSignature
Output #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.