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

PlatformAndroid

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:

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();

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

Output #

1
likes
150
points
68
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sms_retriever_api_plus