playMaker

Author Topic: Android: Permissions for GPS/Location  (Read 4205 times)

doppelmonster

  • Full Member
  • ***
  • Posts: 157
    • View Profile
    • Grinder Games
Android: Permissions for GPS/Location
« on: August 22, 2013, 01:42:02 AM »
Hello, i just upgraded to Unity 4.2 and PM 1.7 (from 4.12 and PM 1.6.1)

Under android my game needs now permissions for GPS/Location without using these services/actions. I changed nothing in my project while updating!

These are the new functions/permissions:
android.hardware.LOCATION
android.permission.ACCESS_FINE_LOCATION

The new 1.6.3 "Extended Location actions to use Android" are causing the permissions even when they are not used (same like the "Vibrate" action).

I deleted all 3 location actions from the playmaker action folder and that fixed the permission.

Is this the only workaround to handle this?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14703
  • Official Playmaker Support
    • View Profile
Re: Android: Permissions for GPS/Location
« Reply #1 on: September 09, 2013, 11:09:49 PM »
Hi,

 have you followed these notes?

http://hutonggames.com/playmakerforum/index.php?topic=4752.0

Bye,

 Jean

doppelmonster

  • Full Member
  • ***
  • Posts: 157
    • View Profile
    • Grinder Games
Re: Android: Permissions for GPS/Location
« Reply #2 on: September 10, 2013, 05:50:33 AM »
Yeah saw it, but its the same i already did.
Would be nice if Playmaker could strip unused actions by itself.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14703
  • Official Playmaker Support
    • View Profile
Re: Android: Permissions for GPS/Location
« Reply #3 on: September 11, 2013, 12:02:01 AM »
Hi,

 Yep. I think Alex is looking into it.

Bye,

 Jean