thebinarysolution/sms_retriever
AndroidでSMSリトリーブAPIを使用してSMSを取得するFlutterプラグイン
- Stars
- 19
- Forks
- 20
- 最終プッシュ(UTC)
- 2022/02/15
- プロジェクト状態
- 公開中
言語KotlinDartObjective-CRuby
使用している依存関係
依存関係一覧 2 件
- flutter
{"sdk":"flutter"} - flutter_test開発用
{"sdk":"flutter"}
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
README を開く / 閉じる
sms_retriever
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 SmsRetriever.getAppSignature();
To start listening for an incoming SMS
String smsCode = await SmsRetriever.startListening();
Stop listening after getting the SMS
SmsRetriever.stopListening();
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