Fix the issue preventing installing C# binaries on Android devices with api <= 29

This commit is contained in:
Fredia Huya-Kouadio 2025-09-04 10:56:35 -07:00 committed by Anish Mishra
parent c5db2cfec2
commit 43566d9462

View file

@ -411,7 +411,13 @@ ext.shouldUseLegacyPackaging = { ->
return Boolean.parseBoolean(legacyPackagingFlag)
}
// Default behavior for minSdk >= 23
if (getExportMinSdkVersion() <= 29) {
// Use legacy packaging for compatibility with device running api <= 29.
// See https://github.com/godotengine/godot/issues/108842 for reference.
return true
}
// Default behavior for minSdk > 29.
return false
}