Unity adds "Device ID & call information" permission to Android

Hi,

Before building my “AndroidManifest.xml” only has the 2 basic internet permissions. After the build the “Device ID & call information” permission is added.
I read these 4 threads:

http://stackoverflow.com/questions/25089311/why-am-i-requesting-device-id-call-information-permission-on-android

Nothing suggested was relevant.
Is there a chance this is due to Unity Analytics?

Thanks.

OK. Finally found this post:

I believe a fix for this is coming in the patch release due tomorrow.

2 Likes

That’s great to hear! I was just about uninstalling 5.1 and reinstalling version 5.0.
Can you tell the version of the patch or what to look for?

Thanks!

@superpig
Is this patch still on the way? I am using version 5.1.2f1. Thanks!

Yes, 5.1.2p3 came out on August 6th. You can grab it or you can wait for 5.1.3f1.

1 Like

I didn’t get it. Is the 5.1.2p3 patch fixes the “READ_PHONE_STATE” issue?
In this link:
http://forum.unity3d.com/threads/unity-5-1-adds-android-permission-read_phone_state-automatically-how-to-remove-it.333431/page-2#post-2244159
You stated than it’ll be fixed in 5.2.0f1.
Bottom line - I’m using 5.1.2, is there anything I can do now to remove these permissions?

It was originally fixed in 5.2.0f1, but then we back ported it to 5.1.2p3. Upgrade to 5.1.2p3 (or wait for 5.1.3f1) and the permission request should be gone.

I’ve upgraded to 5.1.2p3 - the “Read Phone status and identity” is still requested.

Ah, my bad - the original issue was the “Device ID and call information” permission, which has been fixed in 5.1.2p3; the “Read Phone status and identity” issue is separate. Let me find out what the status is and get back to you.

1 Like

Hi,
Any news regarding the issue?

yeah, I just found out this weird permission requested on my app too.
when will it be fixed? and any workaround we can bypass this bug>

I have also run into this problem today, using Unity 5.1.3f1 on Windows. An update would be much appreciated.

There’s a patch release due out on Wednesday which has a fix related to this issue in it.

1 Like

It’s finally out. Thanks a lot for fixing this annoying bug!
Please pay attention, it cost me with many downloads.

it’s fixed in 5.2.
thanks

For some odd reason, the READ_PHONE_STATE is present on the Unity version 2020.3.4f1

1 Like