How off GET_ACCOUNTS?

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

How off GET_ACCOUNTS?

Postby Lena » Fri Jul 07, 2017 1:46 am

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.
Attachments
perm.jpg
perm.jpg (170.11 KiB) Viewed 2188 times
Lena
BCBJ Master
BCBJ Master
 
Posts: 525
Joined: Sun Feb 06, 2011 1:28 pm

Re: How off GET_ACCOUNTS?

Postby Lena » Fri Jul 07, 2017 5:21 am

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?
Lena
BCBJ Master
BCBJ Master
 
Posts: 525
Joined: Sun Feb 06, 2011 1:28 pm

Re: How off GET_ACCOUNTS?

Postby rlebeau » Fri Jul 07, 2017 11:01 am

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
Remy Lebeau (TeamB)
Lebeau Software
User avatar
rlebeau
BCBJ Author
BCBJ Author
 
Posts: 1457
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA

Re: How off GET_ACCOUNTS?

Postby Lena » Mon Jul 10, 2017 2:27 am

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.
Lena
BCBJ Master
BCBJ Master
 
Posts: 525
Joined: Sun Feb 06, 2011 1:28 pm


Return to Technical

Who is online

Users browsing this forum: Bing [Bot] and 14 guests