diff --git a/ABOUT_MILER.md b/ABOUT_MILER.md
index 20dbfce..86acc85 100644
--- a/ABOUT_MILER.md
+++ b/ABOUT_MILER.md
@@ -3,7 +3,7 @@
The Doormile Miler app. One Android/iOS build that a rider signs into, gets his
work for the day, and reports it back from the doorstep.
-`com.doormile.partner` · Flutter · GetX for the controllers that need it ·
+`com.doormile.miler` · Flutter · GetX for the controllers that need it ·
one backend at `https://api.doormile.com/api/v1`
This is the only document in the repository. It covers what the app is, how the
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 63063b9..1c0bc3e 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -28,7 +28,7 @@ if (keystorePropertiesFile.exists()) {
// the map rendered as a blank grey grid.
android {
- namespace = "com.doormile.partner"
+ namespace = "com.doormile.miler"
compileSdk = 36
// Correct NDK version
@@ -52,7 +52,7 @@ android {
}
defaultConfig {
- applicationId = "com.doormile.partner"
+ applicationId = "com.doormile.miler"
minSdkVersion flutter.minSdkVersion
targetSdkVersion 36
diff --git a/android/app/google-services.json b/android/app/google-services.json
index d80ed63..947f9b9 100644
--- a/android/app/google-services.json
+++ b/android/app/google-services.json
@@ -126,7 +126,7 @@
"client_info": {
"mobilesdk_app_id": "1:140444764229:android:578383f5a1d3a05c283b2c",
"android_client_info": {
- "package_name": "com.doormile.partner"
+ "package_name": "com.doormile.miler"
}
},
"oauth_client": [
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 86aa4f8..9f0dd6d 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -144,7 +144,7 @@
android:enabled="true"
android:exported="false">
-
+
diff --git a/android/app/src/main/kotlin/com/nearle/gear/MainActivity.kt b/android/app/src/main/kotlin/com/nearle/gear/MainActivity.kt
index 78d4cb7..a50d8f1 100644
--- a/android/app/src/main/kotlin/com/nearle/gear/MainActivity.kt
+++ b/android/app/src/main/kotlin/com/nearle/gear/MainActivity.kt
@@ -1,4 +1,4 @@
-package com.doormile.partner
+package com.doormile.miler
import android.app.AlarmManager
import android.app.PendingIntent
@@ -188,7 +188,7 @@ class MainActivity : FlutterActivity() {
val alarmManager = getSystemService(Context.ALARM_SERVICE) as AlarmManager
val intent = Intent(this, ShiftEndReceiver::class.java).apply {
- action = "com.doormile.partner.SHIFT_END_ALARM"
+ action = "com.doormile.miler.SHIFT_END_ALARM"
}
val pendingIntent = PendingIntent.getBroadcast(
this,
@@ -241,7 +241,7 @@ class MainActivity : FlutterActivity() {
// Trigger the receiver immediately
val immediateIntent = Intent(this, ShiftEndReceiver::class.java).apply {
- action = "com.doormile.partner.SHIFT_END_ALARM"
+ action = "com.doormile.miler.SHIFT_END_ALARM"
}
sendBroadcast(immediateIntent)
Log.d("MainActivity", "✅ Sent immediate broadcast to ShiftEndReceiver")
@@ -297,7 +297,7 @@ class MainActivity : FlutterActivity() {
try {
val alarmManager = getSystemService(Context.ALARM_SERVICE) as AlarmManager
val intent = Intent(this, ShiftEndReceiver::class.java).apply {
- action = "com.doormile.partner.SHIFT_END_ALARM"
+ action = "com.doormile.miler.SHIFT_END_ALARM"
}
val pendingIntent = PendingIntent.getBroadcast(
this,
diff --git a/android/app/src/main/kotlin/com/nearle/gear/ShiftEndReceiver.kt b/android/app/src/main/kotlin/com/nearle/gear/ShiftEndReceiver.kt
index dfd773f..54236de 100644
--- a/android/app/src/main/kotlin/com/nearle/gear/ShiftEndReceiver.kt
+++ b/android/app/src/main/kotlin/com/nearle/gear/ShiftEndReceiver.kt
@@ -1,4 +1,4 @@
-package com.doormile.partner
+package com.doormile.miler
import android.app.AlarmManager
import android.app.PendingIntent
@@ -114,7 +114,7 @@ class ShiftEndReceiver : BroadcastReceiver() {
// Schedule alarm for tomorrow at the same time
val alarmManager = context.getSystemService(Context.ALARM_SERVICE) as AlarmManager
val intent = Intent(context, ShiftEndReceiver::class.java).apply {
- action = "com.doormile.partner.SHIFT_END_ALARM"
+ action = "com.doormile.miler.SHIFT_END_ALARM"
}
val pendingIntent = PendingIntent.getBroadcast(
context,
diff --git a/lib/helpers/miler_router.dart b/lib/helpers/miler_router.dart
index 2e3073a..c9b0dfc 100644
--- a/lib/helpers/miler_router.dart
+++ b/lib/helpers/miler_router.dart
@@ -16,7 +16,7 @@ class MilerRouter {
/// Sent with every request. OSRM's demo server, like OSM's tile server,
/// blocks anonymous clients first.
- static const String _agent = 'com.doormile.partner';
+ static const String _agent = 'com.doormile.miler';
/// The road geometry from [start] to [end], or an empty list.
///
diff --git a/lib/main.dart b/lib/main.dart
index ed2e08b..1d4a428 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -59,7 +59,11 @@ Future checkForUpdate(BuildContext context) async {
Future recheckVersion() async {
final newVersion = NewVersionPlus(
iOSId: '284882215',
- androidId: "com.doormile.partner",
+ // Must track applicationId in android/app/build.gradle. This is the id the
+ // update check looks up on Play, so a stale value here silently checks a
+ // DIFFERENT listing: riders are told they are up to date when they are not,
+ // or sent to a store page for an app they do not have.
+ androidId: "com.doormile.miler",
);
try {
diff --git a/lib/views/helpers/widgets/miler_map.dart b/lib/views/helpers/widgets/miler_map.dart
index d5d4f31..b12b8f5 100644
--- a/lib/views/helpers/widgets/miler_map.dart
+++ b/lib/views/helpers/widgets/miler_map.dart
@@ -55,7 +55,7 @@ const String kMilerTileUrl = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png';
/// Sent with every tile request. OSM's policy requires an identifiable agent —
/// an app that does not send one is the first thing they block.
-const String kMilerTileAgent = 'com.doormile.partner';
+const String kMilerTileAgent = 'com.doormile.miler';
/// ── The map surface ──
///
diff --git a/lib/views/updatescreen/UpdateScreen.dart b/lib/views/updatescreen/UpdateScreen.dart
index fb37d25..0f74039 100644
--- a/lib/views/updatescreen/UpdateScreen.dart
+++ b/lib/views/updatescreen/UpdateScreen.dart
@@ -59,7 +59,7 @@ class _UpdateScreenState extends State
final newVersion = NewVersionPlus(
iOSId: '284882215',
- androidId: "com.doormile.partner",
+ androidId: "com.doormile.miler",
);
final status = await newVersion.getVersionStatus();
@@ -226,7 +226,7 @@ class _UpdateScreenState extends State
if (s == "Android") {
url =
- 'https://play.google.com/store/apps/details?id=com.doormile.partner';
+ 'https://play.google.com/store/apps/details?id=com.doormile.miler';
} else {
url = 'https://apps.apple.com/us/app/doormile/id1596895375ls=1';
}
diff --git a/pubspec.yaml b/pubspec.yaml
index 53b8077..55a56eb 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -2,7 +2,7 @@ name: miler
description: Miler Rider - Smarter Pickups, Powered by AI
publish_to: "none"
-version: 1.2.29+145
+version: 1.2.30+146
environment: