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:
@@ -11,11 +11,11 @@ android {
|
|||||||
compileSdk = 35
|
compileSdk = 35
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "uk.silverlabs.silverdroid"
|
applicationId = "uk.silverlabs.appstore"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 1
|
versionCode = (project.findProperty("versionCode") as String?)?.toInt() ?: 1
|
||||||
versionName = "1.0.0"
|
versionName = (project.findProperty("versionName") as String?) ?: "1.0.0"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
@@ -84,6 +84,9 @@ dependencies {
|
|||||||
implementation("androidx.room:room-ktx:2.6.1")
|
implementation("androidx.room:room-ktx:2.6.1")
|
||||||
ksp("androidx.room:room-compiler: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
|
// Coroutines
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1")
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1")
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ fun WasmWebView(
|
|||||||
url: String,
|
url: String,
|
||||||
appName: String,
|
appName: String,
|
||||||
onBackPressed: () -> Unit,
|
onBackPressed: () -> Unit,
|
||||||
modifier: Modifier = Modifier
|
modifier: Modifier = Modifier,
|
||||||
|
jsInterface: AppStoreJsBridge? = null
|
||||||
) {
|
) {
|
||||||
var webView by remember { mutableStateOf<WebView?>(null) }
|
var webView by remember { mutableStateOf<WebView?>(null) }
|
||||||
var isLoading by remember { mutableStateOf(true) }
|
var isLoading by remember { mutableStateOf(true) }
|
||||||
@@ -113,7 +114,12 @@ fun WasmWebView(
|
|||||||
|
|
||||||
// User agent (modern)
|
// User agent (modern)
|
||||||
settings.userAgentString = settings.userAgentString +
|
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
|
// Enable wide viewport
|
||||||
settings.useWideViewPort = true
|
settings.useWideViewPort = true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">SilverDROID</string>
|
<string name="app_name">SilverSHELL AppStore</string>
|
||||||
<string name="launcher_title">Your Apps</string>
|
<string name="launcher_title">Your Apps</string>
|
||||||
<string name="add_pwa">Add App</string>
|
<string name="add_pwa">Add App</string>
|
||||||
<string name="settings">Settings</string>
|
<string name="settings">Settings</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user