Permissions policy that will limit which apps are allowed to request Call Log and SMS permissions

后端 未结 6 1402
迷失自我
迷失自我 2020-12-06 13:39

Today I got a mail like this, according to this I’m not able to use RECEIVE_SMS READ_SMS anymore in my app. In my app I’m using auto read OTP. Is there any solu

相关标签:
6条回答
  • 2020-12-06 14:03

    If your app not using those permissions and the third-party library using some kind of those permission use below code for avoiding those permissions. it may affect those library smooth functioning

     <uses-permission
            android:name="android.permission.RECEIVE_SMS"
            tools:node="remove" />
        <uses-permission
            android:name="android.permission.READ_SMS"
            tools:node="remove" />
        <uses-permission
            android:name="android.permission.SEND_SMS"
            tools:node="remove" />
    

    or else you can use alternate methods in the answers, example

    SMS Retriever Api

    0 讨论(0)
  • 2020-12-06 14:05

    Its not like that you are thinking about. Go to this link and fill up and submit the from. If you app's default function is to show SMS inbox or just OTP account verification, then they will not remove your app.

    0 讨论(0)
  • 2020-12-06 14:09

    According to google "You may only request permissions that are necessary to implement critical current features or services in your application. You may not use permissions that give access to user or device data for undisclosed, unimplemented, or disallowed features or purposes".

    Click Here To Read Official Google Permission Doc

    If your app need to read sms for SMS-based user verification / OTP verification please use SMS Retriever API which does not needed any sms permission and your app can still read SMS for OTP verification.

    0 讨论(0)
  • 2020-12-06 14:10

    this one is also a solution.. without submitting form we have another solution .. for this we need to genarate app id..

    SMS Retriever Api

    0 讨论(0)
  • 2020-12-06 14:17

    Google is no more allowing more apps with SMS permission due to security and privacy issue. So if you need Phone No verification then

    Firebase Auth is the best option. It's almost free

    Limit:Verification code SMS messages 50 messages/IP address/minute, 500 messages/IP address/hour

    https://firebase.google.com/docs/auth/android/phone-auth

    0 讨论(0)
  • 2020-12-06 14:24

    This is really new headache for developers While updating my app to play store with new version code i can't found to fill permission declaration form. I'm not using SMS and call log permissions any more but still i can't able to update my app.

    How I solve this problem hope it helps some one

    • First check if you have any alpha,beta or any other active testing tracks.
    • If you have then go to artifact library and see how many active artifacts you have.
    • Go through permissions of each of them if you find the sms or call log permission in any of them then that means you found the problem.
    • Deactivated the track if you can.
    • If you can't able to deactivate them create an APK with those permission and upload it to the track which contain APK with those permission previously in the artifact library.
    • Then you will see the permission declaration form fill that form choose no when it asked did your app follow Google play store permission policy then roll out your application.
    • Then do same for all the active tracks without permission and this time you can choose Yes in declaration form and choose the option for which you use those permission previously I'm using for OTP verification so I choose that one.
    • After updating these all tracks you need to promote your app to production one by one with increasing order of version code at last only one active artifact track, only production and now you can update in that track only.

    Hope it help some one.......

    0 讨论(0)
提交回复
热议问题