<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto">
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" tools:node="remove" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGE" tools:node="remove" />
<!-- Déclaration des fonctionnalités VR -->
<uses-feature android:name="android.hardware.vr.headtracking" android:required="true" />
<uses-feature android:name="android.hardware.vr.high_performance" android:required="true" />
<!-- Configuration des SDK -->
<uses-sdk
android:minSdkVersion="23"
android:targetSdkVersion="32" />
<application
android:allowBackup="false"
android:label="@string/app_name">
<activity
android:name="com.unity3d.player.UnityPlayerActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:launchMode="singleTask"
android:screenOrientation="landscape"
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>
</activity>
<!-- Meta-données pour Unity et Oculus -->
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only" />
<meta-data android:name="com.oculus.vr.focusaware" android:value="true"/>
</application>
</manifest>