Phone App: rename Android package to com.drivervault.phoneapp
Updates the Gradle namespace/applicationId, moves MainActivity.kt to the matching source directory, and refreshes the package id in the README. The Dart package name in pubspec.yaml is unchanged. Since the application id changed, existing installs will not upgrade in place and their local secure-storage/prefs data does not carry over. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
a8416d97d8
commit
fee4fda974
+2
-2
@@ -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 <device> --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:
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.carcontrole.carcontrol_phone
|
||||
package com.drivervault.phoneapp
|
||||
|
||||
import io.flutter.embedding.android.FlutterFragmentActivity
|
||||
|
||||
Reference in New Issue
Block a user