Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: READ_PHONE_STATE android permission


This question is not answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Jul 23, 2017 6:13 PM Last Post By: Jeremy North
Shanil M

Posts: 62
Registered: 12/24/04
READ_PHONE_STATE android permission  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 2:15 AM
Hi I am in the process of publishing my app and Google Play insists on a privacy policy because my app requests READ_PHONE_STATE.

As far as I can make out from googling this, READ_PHONE_STATE is required for AdMob, so that AdMob can identify your device for target-ads (so the ad provider could tell whether a certain ad was already shown to you). It reads SystemInfo.deviceUniqueIdentifier in order to do this.

Also AdMob requires access location for geo-targeting. If I turn this off, would it break AdMob at some point?

Can someone confirm all of this or provide more information on READ_PHONE_STATE so that my privacy policy can be accurate?

Would some users not be keen to install the app because of this potential security risk?

I am using AdMob for banner advertising.

Using Berlin 10.1.

thanks
Shanil
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: READ_PHONE_STATE android permission
Helpful
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 2:49 AM   in response to: Shanil M in response to: Shanil M
Shanil M wrote:

Can someone confirm all of this or provide more information on READ_PHONE_STATE so that my privacy policy can be
accurate?

I went to the AdMob site:

https://developers.google.com/admob/android/quick-start

Clicked on the Samples link, which took me to:

https://github.com/googleads/googleads-mobile-android-examples/releases/tag/4.5

Downloaded the BannerExample and checked the manifest, which has only the following 2 permissions:

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


I would think if Google's own examples do not have it, it's probably not required.

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Shanil M

Posts: 62
Registered: 12/24/04
Re: READ_PHONE_STATE android permission  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 21, 2017 4:41 AM   in response to: Dave Nottage in response to: Dave Nottage
Dave Nottage wrote:
I would think if Google's own examples do not have it, it's probably not required.

Hi Dave thanks for the effort!

That makes me wonder what in my app requires READ_PHONE_STATE? One other requirement is turning an application's sound off when a call comes in, so I am wondering if a media component requires this? Is there an easy way to match components to android permissions, or do I have to add/remove them one by one to see what gets updated in Project Options | Uses Permissions?

Shanil
Jeremy North

Posts: 402
Registered: 9/20/99
Re: READ_PHONE_STATE android permission  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 23, 2017 6:13 PM   in response to: Shanil M in response to: Shanil M
Shanil M wrote:
Hi I am in the process of publishing my app and Google Play insists on a privacy policy because my app requests READ_PHONE_STATE.

As far as I can make out from googling this, READ_PHONE_STATE is required for AdMob, so that AdMob can identify your device for target-ads (so the ad provider could tell whether a certain ad was already shown to you). It reads SystemInfo.deviceUniqueIdentifier in order to do this.

Also AdMob requires access location for geo-targeting. If I turn this off, would it break AdMob at some point?

Can someone confirm all of this or provide more information on READ_PHONE_STATE so that my privacy policy can be accurate?

Would some users not be keen to install the app because of this potential security risk?

I am using AdMob for banner advertising.

Using Berlin 10.1.

thanks
Shanil

Can't you remove the permission and then retest your app to see if it is required?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02