Repository navigation
π Miles β Release v1.1.4
β οΈ Warning
A local build of the MILES fitness tracker, compiled from source.
π New in v1.1.4
- π Fixed the crash that made MILES unopenable. With location denied but activity recognition allowed,
TrackingForegroundServicestill asked for thelocationforeground type, so Android threwSecurityExceptionon every start. The type is now built from the permissions actually granted. - π‘ Added the Android 17 local-network permission. Android 17 (target SDK 37) blocks local-network access by default, which would have broken the opt-in Wear OS pairing. MILES now declares and requests
ACCESS_LOCAL_NETWORK, and skips the LAN silently if it was denied. - β±οΈ Fixed a recovered workout's clock after Resume. The timer and recovery saves now restart on Resume, and time spent in the background counts as paused β no more frozen clock while distance grew (reported: 1.22 km in 1m 41s, 43.5 km/h), and a second force-stop no longer loses data.
- π§ The route builder's Navigate button now works. It hands the route to the tracking engine instead of only flipping on the hard-coded banner.
- π± Package id changed to
com.anshlabs.miles(wascom.aistudio.miles.track). This installs as a fresh app β see Known limitations below. - π The dashboard GPS chip now says "Location denied" instead of always claiming "GPS Ready".
- π The distance unit setting now applies to the Journal, Trends and activity details, not just the dashboard.
- π "Not Now" on the battery optimisation dialog is remembered instead of returning on every launch and rotation.
- π§Ή R8 and resource shrinking remain enabled.
π Privacy
- No Google Play Services.
- No Firebase.
- No tracker libraries.
- Health Connect is optional and only reads steps and exercise sessions. Nothing is uploaded.
- Wear LAN discovery only starts after the user chooses to pair a watch, and only with the local-network permission granted.
πΊοΈ Maps
Satellite imagery is provided by Esri World Imagery with attribution to Esri, Maxar, Earthstar Geographics, and the GIS User Community. Street maps continue to use OpenStreetMap and other configured open tile sources.
π¦ Assets
| File | Description |
|---|---|
| miles-v1.1.4.apk | Signed release APK |
| miles-v1.1.4.sha256 | SHA-256 checksum |
| miles-build-v1.1.4.log | Release build log |
π SHA-256
96507e0251704f6a6a40a0204e609d410d3825b3afa299d7a62ca2d3092da8d2
π² Installation
adb install miles-v1.1.4.apk
Verify:
sha256sum -c miles-v1.1.4.sha256
π License
GPL-3.0-only
π¦ File sizes
| File | Bytes | Size |
|---|---|---|
miles-v1.1.4.apk |
3,199,392 | 3.05 MB |
miles-v1.1.4.sha256 |
83 | 83 B |
miles-build-v1.1.4.log |
8,302 | 8.11 KB |
π Changes since v1.1.3
- π Foreground service builds its type from granted permissions, fixing the unopenable-app crash when location is denied.
- π‘
ACCESS_LOCAL_NETWORKdeclared in the manifest and requested at runtime for Android 17's local-network enforcement. - β±οΈ
resumeTracking()restarts the timer and telemetry loops; restored workouts book downtime as paused time. - π§ Both route builder Navigate buttons invoke
onStartNavigation. - π GPS chip reports the real location permission state.
- π
DistanceUnitthreaded through Journal, Trends and activity detail screens. - π Battery prompt decline persisted in
MilesPreferences. - π± Application id
com.aistudio.miles.trackβcom.anshlabs.miles. - π’ Bumped to versionCode 11.
- π§Ή R8 minification and resource shrinking remain enabled.
β οΈ Known limitations
- The package id changed, so this is not an in-place upgrade: it installs as a new app alongside the old one, and data from
com.aistudio.miles.trackis not carried over. Export amiles.backupfrom the old install first if you need your history. ACCESS_LOCAL_NETWORKfollows the Android 17 guidance (manifest + runtime request,NEARBY_DEVICESgroup), but could not be tested on an Android 17 device yet.- The tester-reported fixes above are code-reviewed and built with R8, but not yet re-run on hardware β @junkerderprovinz and @GlassOnTin are invited to retest.