Forum Discussion
toxyne
4 years agoExplorer
Quest releasing problem (android manifest)
Hello guys. I need advice, please, about editing the android manifest to upload to Oculus Store. Please see the screenshot. Can't get how and where to solve it. App made in UE 4.23.1. Thanks. ...
lee17
4 years agoProtege
hello, you need 3 things:
1. have a `Build\Android\ManifestRequirementsOverride.txt` like the following (you need to adjust the value for your sdk version and glES versions):
<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="25" />
<uses-feature android:name="android.hardware.vr.headtracking" android:required="true" android:version="1" />
<uses-feature android:glEsVersion="0x00030002" android:required="true" />
<supports-gl-texture android:name="GL_KHR_texture_compression_astc_ldr" />
<uses-feature android:name="android.hardware.usb.host" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
<uses-feature android:name="oculus.software.handtracking" android:required="false" />2. have a `Source\[your project]\AndroidSanitizePermissions_UPL.xml` with the following 'removePermission' tags (adjust for your own needs):
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:android="http://schemas.android.com/apk/res/android">
<androidManifestUpdates>
<removePermission android:name="android.permission.ACCESS_NETWORK_STATE" />
<removePermission android:name="android.permission.ACCESS_WIFI_STATE" />
<removePermission android:name="android.permission.READ_PHONE_STATE" />
<removePermission android:name="com.android.vending.CHECK_LICENSE" />
<removePermission android:name="android.permission.GET_ACCOUNTS" />
<removePermission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
<removePermission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</androidManifestUpdates>
</root>3. add the following lines into `Source\[your project]\[your project].Build.cs` :
using System.IO;
--
var manifest_file = Path.Combine(ModuleDirectory, "AndroidSanitizePermissions_UPL.xml");
AdditionalPropertiesForReceipt.Add(new ReceiptProperty("AndroidPlugin", manifest_file));Hope this helps.
Bigbankhank99
3 years agoProtege
I’ve tried this but it isn’t working. My project is using Blueprints not c++ does that matter? Also do I put that code in the build.cs at the very end? Like after the two } symbols? Thanks
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 months ago
- 3 years ago
- 1 year ago