v0.4.2
sms_receiver
无需权限的 Android 短信接收 API。
53喜欢 69近 30 天下载140Pub 分数
AndroidiOS
短信接收器 API Flutter 插件
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
NOTE: This plugin might no longer needed due to flutter/flutter#13015
Flutter plugin for reading incoming-and-expected SMS only
Currently developed for Android: reading message without requesting SMS permission.
Generate acceptable message format
AppSignatureHelper. Store hash as constant inside your app, either on the server or client.Add dependency to this package
Create SmsReceiver() with onSmsReceived(String message) handler.
Start listening with startListening()
Stop listening with stopListening()
Once sms received or receiver timed out, use startListening again. See example