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 at Application Manifests for Release Builds in the Distribute section.
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="<packagename>"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto">
<uses-sdk
android:minSdkVersion="29"
android:targetSdkVersion="32" />
<application>
<meta-data
android:name="com.oculus.supportedDevices"
android:value="quest2|questpro|quest3|quest3s"/>
<activity android:screenOrientation="landscape"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode"
android:launchMode="singleTask"
android:resizeableActivity="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="com.oculus.intent.category.VR" />
</intent-filter>
</activity>
</application>
</manifest>
Theme.Black.NoTitleBar.Fullscreenandroid:screenOrientation="landscape".configChanges are as follows: android:configChanges="density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode".noHistory attribute to your manifest.<uses-feature android:name="android.hardware.vr.headtracking" android:required="true" android:version="1" /> is required for v2 signing, which is required for store review for Meta Quest apps.minSdkVersion and targetSdkVersion must be set appropriately in the build.gradle file. Increasing minSdkVersion can cause your application to no longer run on older-generation headsets. In Android Studio, these values can be set from the Properties and Default Config sections at File > Project Structure > Modules.minSdkVersion and targetSdkVersion. Setting the optional compileSdkVersion ensures you receive up-to-date compiler error messages.| Device | minSdkVersion | targetSdkVersion | compileSdkVersion (optional) |
|---|---|---|---|
Meta Quest 1 (only) | 29 | 29 | 29 |
Meta Quest 1/2/Pro/3 | 29 | 32 | 32 |
Meta Quest 2/Pro/3 (only) | 32 | 32 | 32 |
com.oculus.supportedDevices section of your manifest, the device automatically switches to compatibility mode while running your app. When this occurs, your Meta VR device attempts to maximize compatibility with your app, and runtime reports the headset as a previous generation model.<meta-data android:name="com.oculus.supportedDevices" android:value="quest2|questpro|quest3|quest3s"/>