Skip to content

πŸƒ Miles β€” Release v1.1.4

Choose a tag to compare

@anshlabs716 anshlabs716 released this 05 Nov 08:05
· 16 commits to main since this release

⚠️ Warning

⚠️ Warning: When installed, Android may say this is a "dangerous app" or warn about an unknown developer. Allow it anyway. This is a FOSS build from source and is not registered with Google β€” Google doesn't like that. ⚠️

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, TrackingForegroundService still asked for the location foreground type, so Android threw SecurityException on 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 (was com.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_NETWORK declared 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.
  • πŸ“ DistanceUnit threaded 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.track is not carried over. Export a miles.backup from the old install first if you need your history.
  • ACCESS_LOCAL_NETWORK follows the Android 17 guidance (manifest + runtime request, NEARBY_DEVICES group), 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.