playMaker

Author Topic: Permissions in android  (Read 2203 times)

TheDreamMaster

  • Playmaker Newbie
  • *
  • Posts: 11
Permissions in android
« on: August 23, 2013, 04:49:08 PM »
I am seeing some unnecessary permissions in my android app. For some reason the GPS and the vibration permissions are enabled but I am not using either.

I thought it would be the GameAnalytics plugin, but I removed it from the project and I still get the GPS fine location and Vibrator permissions.

Since there are actions related to Location and Vibration in PM, which I am not using, could that be the problem?

If so, how would I solve it? Delete the actions from the PM folder?

TheDreamMaster

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Permissions in android
« Reply #1 on: August 23, 2013, 05:42:35 PM »
Mystery solved.

Indeed it was PlayMaker. I removed the Vibration action and all 4 of the Location related Actions and my unnecessary android permissions went away.

A heads up to other developers :)

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Permissions in android
« Reply #2 on: August 23, 2013, 05:59:28 PM »
Good catch! Unfortunately Unity doesn't remove unused scripts from the build, so we need some system for this...

Maybe a Project Summary window with guidelines that depend on the build platform selected and actions present...? Some place to put a pre-build/release checklist...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Permissions in android
« Reply #3 on: August 24, 2013, 12:26:18 PM »
For now I've added these to a new Android FAQ post.

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

Thanks for catching this!
« Last Edit: September 10, 2013, 02:14:53 AM by jeanfabre »