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