From 55443e8ea0ebb1b60dcee1a66ec41a495500a57b Mon Sep 17 00:00:00 2001 From: Condorra Date: Wed, 22 Jul 2026 22:11:36 +1000 Subject: [PATCH] Upgrade to support latest Android API level --- app/build.gradle | 16 +++++++++------ app/src/main/AndroidManifest.xml | 25 +++++++++++++++++++----- app/src/main/res/values/strings.xml | 6 ++++++ build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- manifest-checksum.txt | 2 +- twa-manifest.json | 9 +++++---- 7 files changed, 44 insertions(+), 18 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 84ad9c9..fe8773b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,14 +51,14 @@ def twaManifest = [ ] android { - compileSdkVersion 35 + compileSdkVersion 36 namespace "org.blastmud.game" defaultConfig { applicationId "org.blastmud.game" - minSdkVersion 19 - targetSdkVersion 35 - versionCode 16 - versionName "15" + minSdkVersion 23 + targetSdkVersion 36 + versionCode 20 + versionName "20" // The name for the application resValue "string", "appName", twaManifest.name @@ -71,6 +71,8 @@ android { resValue "string", "launchUrl", launchUrl + + // The URL the Web Manifest for the Progressive Web App that the TWA points to. This // is used by Chrome OS and Meta Quest to open the Web version of the PWA instead of // the TWA, as it will probably give a better user experience for non-mobile devices. @@ -145,6 +147,8 @@ android { resValue "bool", "enableSiteSettingsShortcut", twaManifest.enableSiteSettingsShortcut resValue "string", "orientation", twaManifest.orientation + + } buildTypes { release { @@ -204,6 +208,6 @@ repositories { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.5.0' + implementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.6.2' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 04f79c5..e25a271 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -62,10 +62,17 @@ - - + + + + + + @@ -80,6 +87,8 @@ android:name="android.support.customtabs.trusted.STATUS_BAR_COLOR" android:resource="@color/colorPrimary" /> + + @@ -128,6 +137,8 @@ + + @@ -138,10 +149,14 @@ + android:host="@string/hostName" + + /> + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a5cdeea..f7a3c2b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,6 +17,12 @@ + + +