Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

INTERNET and READ_PHONE_STATE permissions

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

  1. Issam

    Issam

    Joined:
    Dec 18, 2012
    Posts:
    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
    Posts:
    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
    Posts:
    270
    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.