我集成了SmsRetrieverApi来自动检测动态口令。
但是我收到一个错误消息SmsRetrieverApiChimeraService No matching message is found。
发布于 2018-11-27 21:28:04
使用this库,这对获取短信非常有帮助
编译'com.github.stfalcon:smsverifycatcher:0.3.1‘
if(Check yor permission) {
smsVerifyCatcher = new SmsVerifyCatcher(this, new OnSmsCatchListener<String>() {
@Override
public void onSmsCatch(String message) {
String code = message.replaceAll("[^0-9]", "");
//Parse verification code
myTextView.setValue(code + "");
verify.performClick();
}
});
}
https://stackoverflow.com/questions/53498929
复制相似问题