Android Manifest Settings

Configure your manifest with the necessary VR settings, as shown in the following manifest segment.

Note: These manifest requirements are intended for development and differ from our submission requirements. Before submitting your application, please be sure to follow the manifest requirements described by our Publishing Guide.
<manifest xmlns:android="" package="<packagename>"  
android:versionCode="1" android:versionName="1.0" android:installLocation="auto">
<meta-data android:name="" android:value="vr_only"/>
<activity android:screenOrientation="landscape" 
<uses-sdk android:minSdkVersion="21"/>
<uses-feature android:glEsVersion="0x00030001" />
  • Replace <packagename> with your actual package name, such as "com.oculus.cinema".
  • The Android theme should be set to the solid black theme for comfort during application transitioning: Theme.Black.NoTitleBar.Fullscreen
  • The vr_only meta data tag should be added for VR mode detection.
  • The required screen orientation is landscape: android:screenOrientation="landscape"
  • It is recommended that your configChanges are as follows: android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode". Note that the density config change is only required when targeting API level 24 or greater.
  • Setting android:resizeableActivity is only required when targeting API level 24 or greater.
  • The minSdkVersion is set to API level 21. This ensures that the app will run on all supported mobile devices.
  • Do not add the noHistory attribute to your manifest.

Applications submission requirements may require additional adjustments to the manifest. Please refer to Application Manifests for Release Versions in our Publishing Guide.