sms_retriever_api 0.0.2

Flutter Android iOS

A Flutter plugin for Android automatic SMS verification using Google’s SMS retriever API . Currently supports on only Android.

sms_retriever_api #

A Flutter plugin for Android automatic SMS verification using Google’s SMS retriever API . Currently supports on only Android.

Getting Started #

To use this plugin, add sms_retriever_api as a dependency in your pubspec.yaml file.

Example #

    SmsRetrieverApi.getAppSignature().then((signature){

      print(signature); // use it in sms body.
      return SmsRetrieverApi.startListening();}).then((x){
      String smsCode = x; // otp code (digit only)
      print("sms - $smsCode");

      //stop listening for sms
      SmsRetrieverApi.stopListening();

    }).catchError((_){
      print("sms error");
    });
0
likes
80
pub points
71%
popularity

A Flutter plugin for Android automatic SMS verification using Google’s SMS retriever API . Currently supports on only Android.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

developer.rouf69nb@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on sms_retriever_api