playMaker

Author Topic: RE: Device Vibrate action  (Read 2077 times)

Sonic Punch Studio

  • Playmaker Newbie
  • *
  • Posts: 21
RE: Device Vibrate action
« on: April 12, 2013, 04:51:36 AM »
Hi there guys! I've been looking into the Device Vibrate action here at the forums and noticed there were mutterings about a specific script or something on that line that is preventing apps from being accepted into stores.

The posts I've looked up:

The action DeviceVibrate.cs caused unity to add the vibrate line to the android manifest even though it was never used. This got us refused from the Nook and Kindle stores originally. Just deleted it and all was good.

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.

(... Okay just noticed they were from the same author.)

But just in case, is it safe to include this action as-it-is in an Android app being distributed in a store such as Google Play?

Cheers,
2ndBrother
Intense bubble popping action! Get Bubble Virtuoso today!

Trailer:
Purchase: http://tinyurl.com/buyBVnow