Skip to content

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

Latest

Choose a tag to compare

@anshlabs716 anshlabs716 released this 06 Nov 13:26
· 12 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.6

  • πŸ› The workout HUD's map layer button now really switches the map. The button cycled state, but the map only read its tile source on first composition β€” so Street β†’ Satellite β†’ Terrain β†’ Dark never actually happened. It now drives a controlled tile source, and the in-map layer button keeps that state in sync. (Bug found in a code review of v1.1.5.)
  • 🧭 "Course Heading Up" panning follows your finger correctly. The gesture handler launches once and had captured the compass course from when the screen opened, so after you turned a corner, drags went in the wrong direction. It now reads the heading live.
  • πŸ—ΊοΈ "Course Heading Up" no longer leaves blank corners. The rotated map content is oversized by 1.5Γ— while rotated, so the viewport corners stay covered at every angle. North-up (the default) keeps the exact previous layout.
  • πŸ“Š The speed heatmap works on phones that never report speed. Many devices leave Location.speed empty; the engine already derived per-leg speed for the stats but stored the raw point, so the breadcrumb gradient stayed flat cyan. Stored points now carry the derived speed.
  • πŸ—ΊοΈ Two more settings reach the route planner. The breadcrumb colour style and the heading rotation mode now also apply to the route builder screen, not just the workout HUD and activity details.
  • 🧹 Removed the "HR Zones" breadcrumb colour option from Settings β€” GPS points carry no heart rate, so it could never render zones and silently fell back to cyan (the v1.1.5 notes already said it wasn't offered; the menu now matches).

πŸ”’ 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. The dark layer uses CARTO-hosted tiles (Β© CARTO / OpenStreetMap contributors).

πŸ“¦ Assets

File Description
miles-v1.1.6.apk Signed release APK
miles-v1.1.6.sha256 SHA-256 checksum
miles-build-v1.1.6.log Release build log

πŸ” SHA-256

bbd31c6fe964173c05429690f1cf7777ef90e1fbc39f3e6717e0cdc57199bd47

πŸ“² Installation

adb install miles-v1.1.6.apk

Verify:

sha256sum -c miles-v1.1.6.sha256

πŸ“„ License

GPL-3.0-only

πŸ“¦ File sizes

File Bytes Size
miles-v1.1.6.apk 3,215,776 3.07 MB
miles-v1.1.6.sha256 83 83 B
miles-build-v1.1.6.log 8,193 8.00 KB

πŸ”„ Changes since v1.1.5

  • πŸ› PrimaryHudPage now passes a controlled currentTileSource (derived from the layer button's MapStyleMode) plus onTileSourceChanged, instead of an initialTileSource that remember{} ignored after first composition.
  • 🧭 RealOsmMapView also re-applies initialTileSource via LaunchedEffect when it changes (for maps that don't control it, e.g. activity detail).
  • 🧭 The pan gesture reads the course through rememberUpdatedState(headingDeg) β€” the un-rotation is always the current bearing, not the one captured at launch.
  • πŸ—ΊοΈ The rotated content box is centered and grown by 1.5Γ— while heading-up (needed: |cosΞΈ|+|sinΞΈ| ≀ √2), with tile/geoToPixel/crosshair anchors moved to the content-box dimensions; 1.0Γ— (unchanged) when north-up.
  • πŸ“Š SmartTrackingEngine.appendValidatedPoint() backfills derived per-leg speed onto stored GpsPoints when the device never populated Location.speed.
  • πŸ—ΊοΈ Route builder honours mapPolylineColorMode and mapHeadingRotationMode from MainActivity.
  • 🧹 "HR Zones" chip removed from the Maps settings card.
  • πŸ”’ Bumped to versionCode 13.

⚠️ Known limitations

  • Heading-up rotation pivots on the screen centre rather than the user's position, so when the map is panned away from you the rotation can feel offset until you re-centre.
  • "HR Zones" breadcrumb colouring stays impossible until GPS points carry a heart rate; only the speed heatmap and solid colours are available.
  • The fixes above are code-review + build verified, but not yet re-run on hardware β€” @junkerderprovinz, @GlassOnTin and @ianrosswilliams are invited to retest.