<?xml version="1.0"?>
<!--
  https://developer.oculus.com/documentation/native/android/mobile-native-manifest/
  https://developer.oculus.com/resources/publish-mobile-manifest/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.qtproject.example.xr_input"
    android:installLocation="auto" android:versionCode="1" android:versionName="1.0">
    <uses-feature android:name="android.hardware.vr.headtracking" android:required="true" android:version="1" />
    <uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
    <uses-feature android:name="oculus.software.handtracking" android:required="false" />
    <uses-feature android:name="wave.feature.handtracking" android:required="false" />
    <uses-feature android:glEsVersion="0x00030000" />
    <application android:name="org.qtproject.qt.android.bindings.QtApplication"
        android:label="Simple Quick3DXr Input Example"
        android:requestLegacyExternalStorage="true" android:allowNativeHeapPointerTagging="false">
        <meta-data android:name="com.oculus.intent.category.VR" android:value="vr_only"/>
        <meta-data android:name="com.oculus.supportedDevices" android:value="all" />
        <activity  android:name="org.qtproject.qt.android.bindings.QtActivity"
            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"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="com.oculus.intent.category.VR"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <meta-data android:name="android.app.lib_name" android:value="xr_input"/>
        </activity>
        <provider android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.qtprovider"
            android:exported="false" android:grantUriPermissions="true">
            <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/qtprovider_paths"/>
        </provider>
    </application>
</manifest>
