This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy
The application manifest of your Gear VR app must conform to our specifications if you want to upload the app to the Oculus Store.
The Unity Android project settings let you set some of the required application manifest options for building a Gear VR app suitable for the Oculus Store. To set the remaining manifest settings, use the Oculus Utilities for Unity 5 plugin.
The steps below describe how to configure Unity to build Oculus Store-compatible Android .apk packages.
Unreal Engine ignores the Android project settings options when building Gear VR apps and instead uses instructions in an XML file to create the application manifest file. This XML requires a small modification to make builds suitable for the Oculus Store.
The steps below describe how to configure Unreal Engine to build Oculus Store-compatible Android .apk packages.
<addAttribute tag="manifest" name="android:installLocation" value="internalOnly"/>to
<addAttribute tag="manifest" name="android:installLocation" value="auto"/>
Your AndroidManifest.xml file must:
package="YOURNAME"
android:versionName="1.0"
android:versionCode="1"
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
OpenGL ES 2
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
OpenGL ES
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
OpenGL ES 3.1:
<uses-feature android:glEsVersion="0x00030001" android:required="true" />
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity
android:name="YOUR ACTIVITY"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="landscape"
android:configChanges="screenSize|orientation|keyboardHidden|keyboard"
android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
</activity>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.yourappnameCHANGETHIS"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto" >
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-feature android:name="android.hardware.usb.host" />
<uses-feature android:glEsVersion="0x00030000" android:required="true" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
<activity
android:name="com.yourcompany.vrtemplate.MainActivity"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="landscape"
android:configChanges="orientation|screenSize|keyboard|keyboardHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" />
</intent-filter>
</activity>
</application>
</manifest>