diff --git a/Phone App/README.md b/Phone App/README.md index d3815cd..8049845 100644 --- a/Phone App/README.md +++ b/Phone App/README.md @@ -5,7 +5,7 @@ API Server (same contract and auth as the web app — a PocketBase token relayed the server, not a JWT the server mints). At full feature parity with the web app (data export/import is the only deliberate omission). -Project name `carcontrol_phone`, package id `com.carcontrole.carcontrol_phone`. +Project name `carcontrol_phone`, package id `com.drivervault.phoneapp`. **Android is the supported target** — the older Flutter-web build path is deprecated. @@ -118,7 +118,7 @@ flutter run -d --dart-define=API_BASE=http://10.2.1.101:8080/api # build a debug APK for a real phone on the LAN flutter build apk --debug --dart-define=API_BASE=http://10.2.1.101:8080/api adb install -r build/app/outputs/flutter-apk/app-debug.apk -adb shell monkey -p com.carcontrole.carcontrol_phone -c android.intent.category.LAUNCHER 1 +adb shell monkey -p com.drivervault.phoneapp -c android.intent.category.LAUNCHER 1 ``` Notes: diff --git a/Phone App/android/app/build.gradle.kts b/Phone App/android/app/build.gradle.kts index 174a5c3..911dc66 100644 --- a/Phone App/android/app/build.gradle.kts +++ b/Phone App/android/app/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } android { - namespace = "com.carcontrole.carcontrol_phone" + namespace = "com.drivervault.phoneapp" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion @@ -15,8 +15,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.carcontrole.carcontrol_phone" + applicationId = "com.drivervault.phoneapp" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion diff --git a/Phone App/android/app/src/main/kotlin/com/carcontrole/carcontrol_phone/MainActivity.kt b/Phone App/android/app/src/main/kotlin/com/drivervault/phoneapp/MainActivity.kt similarity index 86% rename from Phone App/android/app/src/main/kotlin/com/carcontrole/carcontrol_phone/MainActivity.kt rename to Phone App/android/app/src/main/kotlin/com/drivervault/phoneapp/MainActivity.kt index cf26b6f..0866939 100644 --- a/Phone App/android/app/src/main/kotlin/com/carcontrole/carcontrol_phone/MainActivity.kt +++ b/Phone App/android/app/src/main/kotlin/com/drivervault/phoneapp/MainActivity.kt @@ -1,4 +1,4 @@ -package com.carcontrole.carcontrol_phone +package com.drivervault.phoneapp import io.flutter.embedding.android.FlutterFragmentActivity