Do I have to add VIBRATE permission if I'm using Handheld.Vibrate()
Do I have to add VIBRATE permission if I'm using Handheld.Vibrate(). or is it added automatically?
If I do have to add it, how do I do it. How to edit the AndroidManifest.
Comment
Answer by christianstrang · Feb 14, 2017 at 01:01 PM
Are you using Unity 5.5.1 by any chance? I didn't have to add the permission previously, but now that I updated my game to 5.5.1 I receive an error if I use vibration.
Just adding the following line to your AndroidManifest.xml should fix this issue:
<uses-permission android:name="android.permission.VIBRATE" />
Don't remember what version I was using, but I didn't have to add it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612103702im_/https://answers.unity.com/themes/thub/images/avi.jpg)