1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Add logic to record the version of the Godot engine for the Android platform.

(cherry picked from commit bc5120eb97)
This commit is contained in:
Fredia Huya-Kouadio
2021-02-24 03:49:00 -08:00
committed by Rémi Verschelde
parent 80e4b2d02e
commit 9fb5215db5
7 changed files with 64 additions and 6 deletions

View File

@@ -7,6 +7,11 @@
<!-- TODO: Remove the 'requestLegacyExternalStorage' attribute when https://github.com/godotengine/godot/issues/38913 is resolved -->
<application android:requestLegacyExternalStorage="true">
<!-- Records the version of the Godot library -->
<meta-data
android:name="org.godotengine.library.version"
android:value="${godotLibraryVersion}" />
<service android:name=".GodotDownloaderService" />
</application>

View File

@@ -18,6 +18,8 @@ android {
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
manifestPlaceholders = [godotLibraryVersion: getGodotLibraryVersion()]
}
compileOptions {