WhatsApp可以在未经许可的情况下访问SMS [英] WhatsApp could access SMS without having permission to it
问题描述
我尚未在运行 EMUI9 的设备 HonorView10 上授予 WhatsApp 的SMS权限.最近,我更改了在WhatsApp上注册的号码,并将验证码发送到新号码(SIM卡与双SIM卡在同一设备上). WhatsApp阅读SMS并完成验证过程.在Android中是否可以未经允许阅读SMS?还是EMUI9中的错误?我很好奇.
I have not granted SMS permission to WhatsApp on my device HonorView10 running on EMUI9. Recently I changed the number registered with WhatsApp and it send the verification code to new number (the sim is on same device as it is dual SIM). WhatsApp read the SMS and completed the verification process. Is it possible in Android to read SMS without permission? Or it is bug in EMUI9? I am just curious.
推荐答案
WhatsApp可以在未经许可的情况下访问SMS
WhatsApp could access SMS without having permission to it
我认为Whats应用正在使用 SMS Retriever API
I think whats app is using SMS Retriever API
SMS检索器API
SMS Retriever API
使用SMS Retriever API,您可以在Android应用中自动执行基于SMS的用户验证,而无需用户手动键入验证码,并且不需要任何额外的应用权限.在您的应用中实施自动短信验证,验证流程如下
With the SMS Retriever API, you can perform SMS-based user verification in your Android app automatically, without requiring the user to manually type verification codes, and without requiring any extra app permissions. When you implement automatic SMS verification in your app, the verification flow looks like this
这篇关于WhatsApp可以在未经许可的情况下访问SMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!