# Permissions problems

**URL:** <https://forums.unrealengine.com/t/permissions-problems/229295>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 14, 2021, 12:36pm UTC](https://forums.unrealengine.com/t/permissions-problems/229295 "2021-05-14T12:36:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davestation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davestation](https://forums.unrealengine.com/u/Davestation)\
**Post date:** [May 14, 2021, 12:36pm UTC](https://forums.unrealengine.com/t/permissions-problems/229295/1 "2021-05-14T12:36:18Z")

</div>

Hi guys,

I’m trying to upload my APK to the oculus store using the Oculus platform tool inside UE4.  
I am getting the following mesage…

Your manifest includes the following potentially dangerous permissions:

- android.permission.WRITE\_EXTERNAL\_STORAGE
- android.permission.READ\_EXTERNAL\_STORAGE
- android.permission.ACCESS\_MEDIA\_LOCATION

So, I ammended the RequiredManifestOverides.txt file, removing the lines…

- android.permission.WRITE\_EXTERNAL\_STORAGE
- android.permission.READ\_EXTERNAL\_STORAGE

This fixed the issue with the line…

- android.permission.WRITE\_EXTERNAL\_STORAGE

But the warnings about the other two permissions remained.

- android.permission.READ\_EXTERNAL\_STORAGE
- android.permission.ACCESS\_MEDIA\_LOCATION

I also looked in the Unrealbuildtool at the Deployandroid settings and the only property that existed here was the “WRITE\_EXTERNAL\_STORAGE” which explains why that was overwritten by the overides file.

But, I now cannot for the life of me work out where the other 2 permissions are being specified.  
Any help on this would be amazing as I’m at the end of a very long road development wise and this seems to be the last hurdle.

Thanks,

Dave

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b4a7be32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b4a7be32](https://forums.unrealengine.com/u/anonymous_user_b4a7be32)\
**Post date:** [May 31, 2021, 3:38am UTC](https://forums.unrealengine.com/t/permissions-problems/229295/2 "2021-05-31T03:38:31Z")

</div>

> **[Removing Android app permissions](https://forums.unrealengine.com/questions/318771/removing-android-app-permissions.html)**
>
> What’s the most straightforward way to remove some app permissions? I noticed that on install my app asks for much more than it will ever use and I don’t want users to think that something shady is going on. I see the Extra Permissions section in...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c289c915](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c289c915](https://forums.unrealengine.com/u/anonymous_user_c289c915)\
**Post date:** [June 21, 2021, 4:42am UTC](https://forums.unrealengine.com/t/permissions-problems/229295/3 "2021-06-21T04:42:03Z")

</div>

Did you find the solution? I have the exact same problem.

---

<div class="post-metadata">

**Author:** ![Davestation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davestation](https://forums.unrealengine.com/u/Davestation)\
**Post date:** [July 11, 2021, 7:52am UTC](https://forums.unrealengine.com/t/permissions-problems/229295/4 "2021-07-11T07:52:01Z")

</div>

Hi Hayluu,

Sorry for the slow reply, I got sidetracked doing a whole bunch of tweaks to the game but didn’t solve this issue. So I’m now back at exactly that point!  
Did you manage to solve it yourself? and if so caould you please share how?  
Thanks,  
D

---

<div class="post-metadata">

**Author:** ![Alexotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexotronic/32/469812_2.png) [@Alexotronic](https://forums.unrealengine.com/u/Alexotronic)\
**Post date:** [November 29, 2021, 12:02am UTC](https://forums.unrealengine.com/t/permissions-problems/229295/5 "2021-11-29T00:02:21Z")

</div>

t-iwata’s comment combined with [Unreal Engine 4 Tutorials: How to Remove Unwanted Android Permissions using UPL (needed for Oculus) - YouTube](https://www.youtube.com/watch?v=vMBwlkoCf_o) solved it for me.

Funny story, turns out the READ\_EXTERNAL STORAGE permission is getting re-added by oculus’s own plugin!!!

`addPermission android:name="android.permission.READ_EXTERNAL_STORAGE` in [https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/OculusMobile\_APL.xml](https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/OculusMobile_APL.xml)
