Warnings Your Apk Is Using Permissions That Requir

2019-07-25 16:22发布

Your app has an apk with version code 1 that requests the following permission(s): android.permission.GET_ACCOUNTS. Apps using these permissions in an APK are required to have a privacy policy set.

This is the error I get on google play console, Im not asking for this permission!

Those are the only permissions my app has:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

2条回答
混吃等死
2楼-- · 2019-07-25 16:34

Its Bug from Google Play Services library adding unnecessary READ_PHONE_STATE permission

Fixed by :

<manifest 
  xmlns:tools="http://schemas.android.com/tools"
  <!-- ... -->
>

<uses-permission android:name="android.permission.READ_PHONE_STATE" 
tools:node="remove" />
查看更多
在下西门庆
3楼-- · 2019-07-25 16:48

You may have used any library which uses these permissions.

Add a privacy url at the bottom of Store Listing page in Google Play to proceed.

查看更多
登录 后发表回答