# Vibration and permissions on Android

**URL:** <https://forums.unrealengine.com/t/vibration-and-permissions-on-android/1630377>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [January 21, 2024, 12:12am UTC](https://forums.unrealengine.com/t/vibration-and-permissions-on-android/1630377 "2024-01-21T00:12:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCBKay](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jcbkay/32/983252_2.png) [@JCBKay](https://forums.unrealengine.com/u/JCBKay)\
**Post date:** [January 21, 2024, 12:12am UTC](https://forums.unrealengine.com/t/vibration-and-permissions-on-android/1630377/1 "2024-01-21T00:12:17Z")

</div>

For the life of me I can’t get my android package to vibrate/use force feedback.  
Play Dynamic Force Feedback / Client Play Force Feedback / Vibrate, none of these have any effect when played on an Android device (but they do work running in my project on PC (through the controller).

Do I need the VIBRATE permission for these to work? Or is something else amiss?

Regarding the VIBRATE permission, I can’t for the life of me get it to activate.

I’ve created an androidperms.xml in my project’s source forlder containing

> ?xml version=“1.0” encoding=“utf-8”?  
> root xmlns:android=“[http://schemas.android.com/apk/res/android](http://schemas.android.com/apk/res/android)”  
> androidManifestUpdates  
> addPermission android:name=“android.permission.VIBRATE” /  
> removePermission android:name=“android.permission.WRITE\_EXTERNAL\_STORAGE” /  
> addPermission  
> android:name=“android.permission.WRITE\_EXTERNAL\_STORAGE”  
> android:maxSdkVersion=“18” /
> 
> /androidManifestUpdates  
> /root  
> (all greater/lesser than signs deleted to be able to block quote it here)

which I reference in my build.cs with

> ```
> if(Target.Platform == UnrealTargetPlatform.Android)
> {
> string manifest_file = Path.Combine(ModuleDirectory, "androidperms.xml");
> AdditionalPropertiesForReceipt.Add("AndroidPlugin", manifest_file);
> 
> string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
> AdditionalPropertiesForReceipt.Add("AndroidPlugin", System.IO.Path.Combine(PluginPath, "AddRoundIcon_UPL.xml"));
> 
> ```
> 
> }

but the apk always shows “no permissions allowed” with only “Notifications” listed under “not allowed”. And I don’t even mention notifications anywhere.

What am I doing wrong? I’ve been stuck on this for weeks, help!! (\_ \_!)

EDIT: omg omg I am an idiot. Ignore this post. Tocuh Feedback was switched off on my phone. Holy moley I need to turn in my developer card because I do not deserve it.

---

<div class="post-metadata">

**Author:** ![An\_Angry\_Torkoal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@An\_Angry\_Torkoal](https://forums.unrealengine.com/u/An_Angry_Torkoal)\
**Post date:** [February 10, 2024, 2:52am UTC](https://forums.unrealengine.com/t/vibration-and-permissions-on-android/1630377/2 "2024-02-10T02:52:16Z")

</div>

Is adding the vibrate permission necessary after you resolved the problem on your phone?

---

<div class="post-metadata">

**Author:** ![JCBKay](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jcbkay/32/983252_2.png) [@JCBKay](https://forums.unrealengine.com/u/JCBKay)\
**Post date:** [February 13, 2024, 10:29pm UTC](https://forums.unrealengine.com/t/vibration-and-permissions-on-android/1630377/3 "2024-02-13T22:29:35Z")

</div>

Apparently not, no.
