从2019年1月9日开始,不允许从api级26起的更高版本的SMS中自动读取OTP吗? [英] Automatically-read-OTP from SMSes in later versions from api level 26 is not allowed from 2019 Jan 9th?

查看:50
本文介绍了从2019年1月9日开始,不允许从api级26起的更高版本的SMS中自动读取OTP吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

    <!-- To use SMS based services -->
    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.SEND_SMS" />  

我们要求一些权限以便在我们的应用中使用以与SMS配合使用,首先要在您的AndroidManifest中进行声明. android最新版本不允许这些权限.

we are asking for some permissions in order to use in our app to work with SMS, start by declaring in your AndroidManifest. android latest versions these permissions are no allowed.

推荐答案

好吧

是的,因为这违反了用户隐私,因此为了解决在android中接收otp的问题,他们提供了sms-retriver api.您可以使用它而不破坏任何策略,此外,如果您确实要使用这些权限,请向其提交应用程序.他们会为您提供在部署应用程序时需要的认证.但所有这些都将从2019年1月开始实施.

yep because this against user privacy so in order to tackle the problem of receiving otp in android they have provided sms-retriver api. you can use use that without voilating any policy and moreover if you really want to use those permissions then file an application to them. they will give you certification which will be required at the time of app deploymen. but all of this is going to be implemented from jan 2019.

看看这个参考=> https://support.google.com/googleplay/android-developer/answer/9047303

这篇关于从2019年1月9日开始,不允许从api级26起的更高版本的SMS中自动读取OTP吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆