feat(appstore): rebrand as SilverSHELL AppStore client

- applicationId: uk.silverlabs.silverdroid → uk.silverlabs.appstore
- app_name: SilverDROID → SilverSHELL AppStore
- user agent: SilverDROID/1.0 → SilverAppStore/1.0
- versionCode/versionName: override via Gradle -P args for CI builds

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 13:34:47 +00:00
parent ba9bba1503
commit 0f1b6a6157
3 changed files with 15 additions and 6 deletions

View File

@@ -11,11 +11,11 @@ android {
compileSdk = 35
defaultConfig {
applicationId = "uk.silverlabs.silverdroid"
applicationId = "uk.silverlabs.appstore"
minSdk = 26
targetSdk = 35
versionCode = 1
versionName = "1.0.0"
versionCode = (project.findProperty("versionCode") as String?)?.toInt() ?: 1
versionName = (project.findProperty("versionName") as String?) ?: "1.0.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@@ -84,6 +84,9 @@ dependencies {
implementation("androidx.room:room-ktx:2.6.1")
ksp("androidx.room:room-compiler:2.6.1")
// WorkManager for background update checks
implementation("androidx.work:work-runtime-ktx:2.10.0")
// Coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1")

View File

@@ -22,7 +22,8 @@ fun WasmWebView(
url: String,
appName: String,
onBackPressed: () -> Unit,
modifier: Modifier = Modifier
modifier: Modifier = Modifier,
jsInterface: AppStoreJsBridge? = null
) {
var webView by remember { mutableStateOf<WebView?>(null) }
var isLoading by remember { mutableStateOf(true) }
@@ -113,7 +114,12 @@ fun WasmWebView(
// User agent (modern)
settings.userAgentString = settings.userAgentString +
" SilverDROID/1.0 (PWA/WASM Launcher)"
" SilverAppStore/1.0 (AppStore Client)"
// Wire AppStore JS bridge so Blazor can call native install
jsInterface?.let {
addJavascriptInterface(it, AppStoreJsBridge.BRIDGE_NAME)
}
// Enable wide viewport
settings.useWideViewPort = true

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">SilverDROID</string>
<string name="app_name">SilverSHELL AppStore</string>
<string name="launcher_title">Your Apps</string>
<string name="add_pwa">Add App</string>
<string name="settings">Settings</string>