Explorar o código

Merge pull request #39103 from m4gr3d/enable_legacy_external_storage

Enable legacy external storage for Android 10
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
f03bc21e09
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      platform/android/java/lib/AndroidManifest.xml

+ 3 - 2
platform/android/java/lib/AndroidManifest.xml

@@ -4,16 +4,17 @@
     android:versionCode="1"
     android:versionName="1.0">
 
-    <application>
+    <!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved -->
+    <application android:requestLegacyExternalStorage="true">
 
         <service android:name=".GodotDownloaderService" />
 
     </application>
 
     <instrumentation
+        android:name=".GodotInstrumentation"
         android:icon="@mipmap/icon"
         android:label="@string/godot_project_name_string"
-        android:name=".GodotInstrumentation"
         android:targetPackage="org.godotengine.godot" />
 
 </manifest>