1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  3. All Unity Pro perpetual license customers: your special offer to subscribe is ready! Click here.
    Dismiss Notice
  4. Unity 5.5 is now released.
    Dismiss Notice
  5. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  6. Unity 5.6 beta is now available for download.
    Dismiss Notice
  7. Get prepared for the Tizen Mobile App Incentive Program! Read more about the upcoming program here.
    Dismiss Notice
  8. Enter the Microsoft Developer Challenge for a chance to win prizes. Read more about it here.
    Dismiss Notice

INTERNET and READ_PHONE_STATE permissions

Discussion in 'Android' started by Issam, Dec 27, 2012.

  1. Issam

    Issam

    Joined:
    Dec 18, 2012
    Messages:
    37
    I just noticed that those 2 permissions get added to my manifest again. I know a week ago I was able to build with no permissions requested, the only big change I made since then was to upgrade to 3.5.7 and I added a lot of Resources.Load / Unload code. Anyone know what unity detects in my code that require those 2 permissions?
     
    CasualT likes this.
  2. Issam

    Issam

    Joined:
    Dec 18, 2012
    Messages:
    37
    For anyone getting this, this was because of a call to SystemInfo.deviceUniqueIdentifier and unity 3.5.7 now correctly adding the permission needed for that. Removing the call to is solved my problem (I did not need it, was just logging all the SystemInfo values at the start)
     
    pengo likes this.
  3. kromenak

    kromenak

    Joined:
    Feb 9, 2011
    Messages:
    216
    Ran into this same issue while updating an app to Unity 4; thanks for posting the solution, saved me some time!

    @Unity, it would be awesome if the log mentioned what permissions were being added automatically, and maybe for what reason.