9cb29de1f0
- Kiosk v1.6.0 (versionCode 10)
- Integrate BLE scale gateway directly into kiosk app (no external app needed)
- New scale/ package: BleScaleManager, GatewayWebSocketServer, ScaleProtocol, GatewayService
- GatewayService: foreground service, runs BLE scan + WebSocket :8765 server
- Auto-reconnect on BLE disconnect; protocol compatible with old gateway app
- Setup step 4: replace gateway install flow with BLE device scan + selection (mandatory)
- Permissions: added BLUETOOTH_SCAN, BLUETOOTH_CONNECT, ACCESS_FINE_LOCATION (pre-S),
FOREGROUND_SERVICE, FOREGROUND_SERVICE_CONNECTED_DEVICE
- KioskActivity: replace launchGatewayInBackground() with startGatewayService()
- checkForUpdates: remove gateway APK check (gateway is now internal)
- Remove GATEWAY_PACKAGE / GATEWAY_DOWNLOAD_URL constants
- Logo / branding
- logo.png + logo_icon.png: transparent background (no more black)
- ic_logo.png regenerated in all densities
- Removed house emoji (🏠) from web UI: favicon, bottom nav, setup wizard header
- Removed 🏠 prefix from all translations (it/en/de) and manifest
- Setup wizard: logo shown in language + welcome steps
- Setup wizard: footer with credits ('Creato da Stimpfl Daniel • Open Source')
- CSS: .nav-logo-icon for bottom nav logo sizing
- Scale Gateway v2.1.1 (versionCode 8)
- Fix false update notification: replace == comparison with proper semverNewer()
(was reporting 'update available' whenever tag != current, e.g. v2.1.0 != 2.1.0)
42 lines
1.1 KiB
Kotlin
42 lines
1.1 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "it.dadaloop.evershelf.scalegate"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "it.dadaloop.evershelf.scalegate"
|
|
minSdk = 24
|
|
targetSdk = 34
|
|
versionCode = 8
|
|
versionName = "2.1.1"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.12.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
|
// WebSocket server
|
|
implementation("org.java-websocket:Java-WebSocket:1.5.5")
|
|
// Coroutines
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
|
|
}
|