thebinarysolution/sms_retriever
Plugin Flutter para recuperar SMS no Android usando a API de Recuperação de SMS
- Stars
- 19
- Forks
- 20
- Último push (UTC)
- 15 de fev. de 2022
- Status do projeto
- Ativo
LinguagensKotlinDartObjective-CRuby
Dependências usadas
Lista de dependências 2 itens
- flutter
{"sdk":"flutter"} - flutter_testDesenvolvimento
{"sdk":"flutter"}
README original
Texto original em inglês. Visite o GitHub para a versão atual.
Expandir / recolher 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