Viberate Permissions
Hello,
I'm running Ti 1.5.0 i called the Titanium.Media.vibrate(); (Stolen from the Kichtchink app). This function cuases a runtime error:
>SecutiryException: Requires VIBRATE permission
How can i solve this problem?
Greetings,
Jacob
1 Answer
-
Accepted Answer
You are probably using an AndroidManifest.custom.xml, which isn't updated when you start using a function that needs permission.
Add the following permission at the list of permissions in your manifest file:
<uses-permission android:name="android.permission.VIBRATE"></uses-permission>
That should do the trick.