Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: Alex Chouls on August 24, 2013, 11:27:44 AM

Title: Android FAQ
Post by: Alex Chouls on August 24, 2013, 11: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:
Title: Re: Android FAQ
Post by: sandfella on November 23, 2015, 03: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
Title: Re: Android FAQ
Post by: jeanfabre on April 15, 2016, 02:00:35 AM
Hi,

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

Bye,

 Jean
Title: Re: Android FAQ
Post by: Dan on August 01, 2016, 11: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.
Title: Re: Android FAQ
Post by: joel.carlson on August 14, 2016, 07:11:36 PM
Any progress on creating a tool to remove unused scripts?
Title: Re: Android FAQ
Post by: jeanfabre on August 17, 2016, 06: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
Title: Re: Android FAQ
Post by: Dan on August 17, 2016, 08:02:17 PM
Got it, thanks.
Title: Re: Android FAQ
Post by: djaydino on March 02, 2017, 03:50:17 AM
Hi,
Any update for a tool?
Title: Re: Android FAQ
Post by: jeanfabre on March 06, 2017, 01:00:23 AM
Hi,

 Not really unfortunatly...

 Bye,

 Jean
Title: Re: Android FAQ
Post by: qaz1243qaz on March 20, 2017, 03: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....
Title: Re: Android FAQ
Post by: jeanfabre on March 20, 2017, 05: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
Title: Re: Android FAQ
Post by: E.P.DunkTrunk on May 07, 2023, 11:04:22 PM
Hi, any update on this tool?
A helpful alternative would be an option perhaps in Playmaker/Tools:
"Delete All Location Actions", "Delete All Networking Actions" etc.
Specifically for groups of actions that cause permission issues / requests on iOS and Android.