Delete READ_PHONE_STATE Unity 5.5
Hello I have Unity 5.5 and well it is been a couple of weeks since I updated my app, previously when I had Unity 5.1 I got this problem that turn around the forums with the read_phone_state, but I've seen that they fixed on unity 5.2 however when I updated my project from 5.1 to 5.5 when I build the apk I keeps getting the bloody read_phone_state, anyone knows how to remove it?
Answer by shark812 · Jun 12, 2017 at 08:27 PM
Same here, it seems that it not depends on the unity version cause i've published a version with no problem but today I updated the sdk Tools and now i'm facing this issue too.
I rolled back to my old Andrid sdk version (I made a backup) and with that it's fixed for me, hope the same for you!
Idk how to use an old sdk version I had trouble installing just the S$$anonymous$$D so, I've downloaded Android studio hehe, even so I'll keep track of that
Answer by Aminjon_Warshav · Jul 09, 2017 at 06:29 PM
This issue was in UNITY 5.6, I worked about 2 days Finally I found an issue it was I new version ANDROID SDK then I deleted the last version of Android SDK, then downloaded a > SDK Tools, Revision 25.2.5 then it's working good !!
But, how did you downloaded the older version, I am using the Android Studio app and I dont freaking understand it hehe, because for some reason the comandline SD$$anonymous$$ $$anonymous$$anager is not opening for me (I have Windows 10)
By any chance are you using Fabric crashlytics? In my case it was the curlprit. But yes I'm also using build tool 25.2.5. But is there any permanent fix? Using old SD$$anonymous$$ tools isnt a good idea.
It occured after I installed fabric crashlytics. No solution worked for me. So I had to remove fabric crashlytics.
Answer by ermine123 · Oct 11, 2017 at 08:12 PM
I had this same problem using Unity 2017.1.2f1 and Android SDK 26.0.2. When I added uses-sdk android:minSdkVersion="16" android:targetSdkVersion="25" to all AndroidManifest.xml files then READ_PHONE_STATE no longer generated.
Answer by DarkZero208 · Aug 23, 2017 at 06:03 PM
@jayadratha No I am not usign, Frabirc for crashes, I will update to Unity 2017 to see if that helps I will post my resulst if they are succesful. Hehe