sms_retriever_api_plus 0.0.1
sms_retriever_api_plus: ^0.0.1 copied to clipboard
Flutter plugin to retrieve the SMS on Android using SMS Retrieval API
sms_retriever_api_plus #
A new Flutter plugin to retrieve the SMS on Android using SMS Retrieval API
Getting Started #
To retrieve a app signature. It requires by the SMS
String appSignature = await SmsRetrieverApiPlus.getSignature();
To start listening for an incoming SMS
String message = await SmsRetrieverApiPlus.initSMSAPI()
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
Example SMS
[#] Your example code is: 123456 appSignature
Reference #
https://developers.google.com/identity/sms-retriever/overview