AndroidManifest.xml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. package="com.godot.game"
  5. android:versionCode="1"
  6. android:versionName="1.0"
  7. android:installLocation="auto" >
  8. <!-- Adding custom text to the manifest is fine, but do it outside the custom USER and APPLICATION BEGIN/END comments, -->
  9. <!-- as that gets rewritten. -->
  10. <supports-screens
  11. android:smallScreens="true"
  12. android:normalScreens="true"
  13. android:largeScreens="true"
  14. android:xlargeScreens="true" />
  15. <!-- glEsVersion is modified by the exporter, changing this value here has no effect. -->
  16. <uses-feature
  17. android:glEsVersion="0x00020000"
  18. android:required="true" />
  19. <!-- Custom user permissions XML added by add-ons. It's recommended to add them from the export preset, though. -->
  20. <!--CHUNK_USER_PERMISSIONS_BEGIN-->
  21. <!--CHUNK_USER_PERMISSIONS_END-->
  22. <!-- Any tag in this line after android:icon will be erased when doing custom builds. -->
  23. <!-- If you want to add tags manually, do before it. -->
  24. <!-- WARNING: This should stay on a single line until the parsing code is improved. See GH-32414. -->
  25. <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved -->
  26. <application android:label="@string/godot_project_name_string" android:allowBackup="false" android:isGame="true" android:hasFragileUserData="false" android:requestLegacyExternalStorage="false" tools:ignore="GoogleAppIndexingWarning" android:icon="@mipmap/icon">
  27. <!-- Records the version of the Godot editor used for building -->
  28. <meta-data
  29. android:name="org.godotengine.editor.version"
  30. android:value="${godotEditorVersion}" />
  31. <!-- The following metadata values are replaced when Godot exports, modifying them here has no effect. -->
  32. <!-- Do these changes in the export preset. Adding new ones is fine. -->
  33. <!-- XR mode metadata. This is modified by the exporter based on the selected xr mode. DO NOT CHANGE the values here. -->
  34. <meta-data
  35. android:name="xr_mode_metadata_name"
  36. android:value="xr_mode_metadata_value" />
  37. <!-- XR hand tracking metadata -->
  38. <!-- This is modified by the exporter based on the selected xr mode. DO NOT CHANGE the values here. -->
  39. <!-- Removed at export time if the xr mode is not VR or hand tracking is disabled. -->
  40. <meta-data
  41. android:name="xr_hand_tracking_metadata_name"
  42. android:value="xr_hand_tracking_metadata_value"/>
  43. <!-- Supported Meta devices -->
  44. <!-- This is removed by the exporter if the xr mode is not VR. -->
  45. <meta-data
  46. android:name="com.oculus.supportedDevices"
  47. android:value="all" />
  48. <activity
  49. android:name=".GodotApp"
  50. android:label="@string/godot_project_name_string"
  51. android:theme="@style/GodotAppSplashTheme"
  52. android:launchMode="singleTask"
  53. android:excludeFromRecents="false"
  54. android:screenOrientation="landscape"
  55. android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
  56. android:resizeableActivity="false"
  57. tools:ignore="UnusedAttribute" >
  58. <!-- Focus awareness metadata is removed at export time if the xr mode is not VR. -->
  59. <meta-data android:name="com.oculus.vr.focusaware" android:value="true" />
  60. <intent-filter>
  61. <action android:name="android.intent.action.MAIN" />
  62. <category android:name="android.intent.category.LAUNCHER" />
  63. <!-- Enable access to OpenXR on Oculus mobile devices, no-op on other Android
  64. platforms. -->
  65. <category android:name="com.oculus.intent.category.VR" />
  66. </intent-filter>
  67. </activity>
  68. <!-- Custom application XML added by add-ons. -->
  69. <!--CHUNK_APPLICATION_BEGIN-->
  70. <!--CHUNK_APPLICATION_END-->
  71. </application>
  72. </manifest>