Page 1 of 1

How off GET_ACCOUNTS?

PostPosted: Fri Jul 07, 2017 1:46 am
by Lena
I try public app in Google Play. I got in console google message:
Your application has an APK version 2 file that has the following permissions: android.permission.READ_PHONE_STATE, android.permission.GET_ACCOUNTS. To use them, you must set up a privacy policy.

Options:
Entitlement List->Recevive push notifications=true
I set GET_ACCOUNTS=false (see picture) but in AndroidManifest.xml I see GET_ACCOUNTS. Why?
Code: Select all
    <!-- This is the platform API where NativeActivity was introduced. -->
    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
//***

ะก++ Berlin up2.

Re: How off GET_ACCOUNTS?

PostPosted: Fri Jul 07, 2017 5:21 am
by Lena
I found this: forums.embarcadero.com
But I did not understand what needs to be done to clean up GET_ACCOUNTS. :(
What are your tips for solving the problem?

Re: How off GET_ACCOUNTS?

PostPosted: Fri Jul 07, 2017 11:01 am
by rlebeau
Lena wrote:Options:
Entitlement List->Recevive push notifications=true
I set GET_ACCOUNTS=false (see picture) but in AndroidManifest.xml I see GET_ACCOUNTS. Why?


Known bug, not fixed yet:

https://quality.embarcadero.com/browse/RSP-17799

Have you tried customizing the XML file to remove the permission manually?

Customizing Your AndroidManifest.xml File

Re: How off GET_ACCOUNTS?

PostPosted: Mon Jul 10, 2017 2:27 am
by Lena
Thank you!

1. Build project.
2. Open manifest and set to version 16 and remove GET_ACCOUNTS
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
3. Press Deploy.