sms_retriever
使用短信检索 API 在 Android 上检索短信的 Flutter 插件
- 星标
- 19
- 复刻
- 20
- 最近推送(UTC)
- 2022年2月15日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
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
语言KotlinDartObjective-CRuby
使用的依赖
依赖清单 2 项
- flutter
{"sdk":"flutter"} - flutter_test开发依赖
{"sdk":"flutter"}
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗