Revert "Add support for exporting to Google Play Instant"

This reverts commit 12ad9ed4e0.

Shortly after the feature was merged, we received news that Google will shut down Instant Apps in December 2025. Since this feature is being discontinued soon, there’s no value in keeping it for just a few months.
This commit is contained in:
Anish Mishra
2025-06-14 15:51:08 +05:30
parent 1218a16de5
commit dcab8a721e
5 changed files with 3 additions and 50 deletions

View File

@ -37,10 +37,6 @@ dependencies {
implementation "androidx.fragment:fragment:$versions.fragmentVersion"
implementation "androidx.core:core-splashscreen:$versions.splashscreenVersion"
if (isInstantApp()) {
implementation "com.google.android.gms:play-services-instantapps:$versions.instantAppsVersion"
}
if (rootProject.findProject(":lib")) {
implementation project(":lib")
} else if (rootProject.findProject(":godot:lib")) {
@ -94,7 +90,7 @@ android {
jvmTarget = versions.javaVersion
}
assetPacks = isInstantApp() ? [] : [":assetPackInstallTime"]
assetPacks = [":assetPackInstallTime"]
namespace = 'com.godot.game'

View File

@ -15,8 +15,7 @@ ext.versions = [
// Also update 'platform/android/detect.py#get_ndk_version()' when this is updated.
ndkVersion : '28.1.13356709',
splashscreenVersion: '1.0.1',
openxrVendorsVersion: '4.0.0-stable',
instantAppsVersion: '17.0.0'
openxrVendorsVersion: '4.0.0-stable'
]
@ -380,8 +379,3 @@ ext.getAddonsDirectory = { ->
String addonsDirectory = project.hasProperty("addons_directory") ? project.property("addons_directory") : ""
return addonsDirectory
}
ext.isInstantApp = { ->
String instantApp = project.hasProperty("play_instant_app") ? project.property("play_instant_app") : ""
return Boolean.parseBoolean(instantApp)
}