playMaker

Author Topic: Android FAQ  (Read 5697 times)

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3207
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Android FAQ
« on: August 24, 2013, 08:27:44 AM »
Unity does not remove unused scripts when making a build. This means unused actions will be in the build. We're working on our own tool to automatically remove unused actions, but in the meantime, here are some tips:
  • If you don't use Unity Networking you can safely delete the PlayMaker/Actions/Networking folder.
  • If you don't want your app to ask for GPS permissions, remove the location actions: GetLocationInfo, StartLocationServicesUpdate, StopLocationServicesUpdate.
  • If you don't want your app to ask for vibration permissions, remove the Vibrate action.
« Last Edit: August 24, 2013, 09:26:57 AM by Alex Chouls »

sandfella

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Android FAQ
« Reply #1 on: November 23, 2015, 01:12:00 PM »
Old thread, but I was googling for WAKE_LOCK issue and got to this page multiple time. I think I found a solution so I registered to these forums just to post this info :)

These two are related:
permission: Android.permission.WAKE_LOCK
try delete file: /PlayMaker/Actions/DevicePlayFullScreenMovie.Cs

(using Unity 5.0.4 and Playmaker 1.7.8)

edit: also sorry if it's against the rules to post to pinned threads or something. I'm such a newb  ;D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Android FAQ
« Reply #2 on: April 14, 2016, 11:00:35 PM »
Hi,

 that's great, thanks for sharing this, it's indeed important.

Bye,

 Jean

Dan

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
    • Personal Site
Re: Android FAQ
« Reply #3 on: August 01, 2016, 08:02:12 PM »
I made a note of the tips, however, I noticed that in 2013 you were working on a tool to remove unused scripts. Has this tool been developed? If that exists then I won't try to do this manually for my builds. Thanks.

joel.carlson

  • Junior Playmaker
  • **
  • Posts: 55
    • View Profile
    • Salvation's Story
Re: Android FAQ
« Reply #4 on: August 14, 2016, 04:11:36 PM »
Any progress on creating a tool to remove unused scripts?
Check out Noah's Elephant in the Room, Bible ABCs for Kids, Bible Coloring for Kids, and Noah's Bunny Problem at
Salvations Story

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Android FAQ
« Reply #5 on: August 17, 2016, 03:56:38 AM »
Hi,

 I am not aware of any progress on this right now. Currently, you'll need to do this manually unfortunatly.

 Bye,

 Jean

Dan

  • Playmaker Newbie
  • *
  • Posts: 45
    • View Profile
    • Personal Site
Re: Android FAQ
« Reply #6 on: August 17, 2016, 05:02:17 PM »
Got it, thanks.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2280
    • View Profile
    • jinxtergames
Re: Android FAQ
« Reply #7 on: March 02, 2017, 01:50:17 AM »
Hi,
Any update for a tool?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Android FAQ
« Reply #8 on: March 05, 2017, 11:00:23 PM »
Hi,

 Not really unfortunatly...

 Bye,

 Jean

qaz1243qaz

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Re: Android FAQ
« Reply #9 on: March 20, 2017, 12:12:09 AM »
unity 4 playmaker1.7.7f6

add playmaker plugin
use Android
Could not find method android.net.ConnectivityManager.getRestrictBackgroundStatus and android.os.LocaleList.getDefault
BUG....
« Last Edit: March 20, 2017, 12:13:48 AM by qaz1243qaz »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Android FAQ
« Reply #10 on: March 20, 2017, 02:12:53 AM »
Hi,

 Unity 4 is likely deprecated with Android. Have you tried with the latest Unity version and lasted PlayMaker version?

 Bye,

 Jean