sms_retriever_api_plus 0.0.2 copy "sms_retriever_api_plus: ^0.0.2" to clipboard
sms_retriever_api_plus: ^0.0.2 copied to clipboard

outdated

Flutter plugin to retrieve the SMS on Android using SMS Retrieval API using Kotlin

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:

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

1
likes
0
points
94
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to retrieve the SMS on Android using SMS Retrieval API using Kotlin

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sms_retriever_api_plus

Packages that implement sms_retriever_api_plus