INTERNET and READ_PHONE_STATE permissions

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

  1. Issam

    Issam

    Member

    Joined:
    Dec 18, 2012
    Messages:
    13
    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?
  2. Issam

    Issam

    Member

    Joined:
    Dec 18, 2012
    Messages:
    13
    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

    Member

    Joined:
    Feb 9, 2011
    Messages:
    135
    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.