playMaker

Author Topic: DeviceVibrate action and Nook/Kindle AndroidManifest woes  (Read 1859 times)

smiffy

  • Playmaker Newbie
  • *
  • Posts: 48
    • View Profile
DeviceVibrate action and Nook/Kindle AndroidManifest woes
« on: July 17, 2012, 02:02:41 PM »
So last week we we're getting our app refused from the Nook store as the line <uses-permission android:name="android.permission.VIBRATE" /> was being generated by Unity in the androidManifest.xml and vibrate is not allowed on the nook (or Kindle either).

Turns out just having DeviceVibrate.cs in the actions folder causes this, you don't have to have used it.

So delete it and Unity automatically removes it on build. You can check in the stagingArea folder in your Main project folder.

Hope this helps.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3201
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: DeviceVibrate action and Nook/Kindle AndroidManifest woes
« Reply #1 on: July 22, 2012, 10:01:31 PM »
Thanks! Good to know.

We hope to add an Optimize Build option in Playmaker soon that will automatically delete all actions not used in your project. Until then you have to delete actions manually in cases like this, or if you want to make the exe a bit smaller...