Export the rendering/renderer/rendering_method.mobile project setting to the AndroidManifest

The AndroidManifest already stores the Godot editor and library versions. The addition of this meta-data allows to identify Godot Android apps that may be subject to renderer specific issues addressed in future versions of the engine.
This commit is contained in:
Fredia Huya-Kouadio 2025-02-04 21:11:56 -08:00
parent 0b6a717ac1
commit 9e4365f1a7
4 changed files with 15 additions and 1 deletions

View file

@ -70,6 +70,11 @@ ext.getExportTargetSdkVersion = { ->
}
}
ext.getGodotRenderingMethod = { ->
String renderingMethod = project.hasProperty("godot_rendering_method") ? project.property("godot_rendering_method") : ""
return renderingMethod
}
ext.getGodotEditorVersion = { ->
String editorVersion = project.hasProperty("godot_editor_version") ? project.property("godot_editor_version") : ""
if (editorVersion == null || editorVersion.isEmpty()) {