Developer Guide
Technical documentation for contributing to the Meshtastic Android and Desktop app.
Before You Open a PR
Things that trip up first-time contributors β check these before requesting review:
- Formatting passes β run
./gradlew spotlessApplyto auto-format, then verify withspotlessCheck - Detekt passes β run
./gradlew detekt detektTypeResolvedand fix all reported issues; the second task runs the rules that need the compile classpath - All tests pass β run
./gradlew test allTests(both are needed:testcovers Android-only modules,allTestscovers KMP) - Screenshot tests pass β if you touched any Compose UI, run
./gradlew :screenshot-tests:validateDebugScreenshotTestand update reference images if needed - Protos are an external dependency β protobuf models come from the
org.meshtastic:protobufsMaven artifact (pinned ingradle/libs.versions.toml); change protos upstream and bump the version, never edit generated code locally - Docs updated β if you changed user-visible UI, update the corresponding page under
docs/en/user/ - Previews updated β if you changed UI composables, update the corresponding
*Previews.ktfile and the screenshot-test baselines - Branch naming β start the branch with
feat/,fix/,chore/,docs/,build/,ci/,refactor/,test/, ordeps/, or use a spec branch name; Contributing has the full rule
Whatβs New for Developers
November 2026 β Persistence β A file database serves reads from Roomβs reader pool, and MeshLog has indexes for its per-node and per-type queries (schema version 68).
October 2026 β Navigation & Deep Links β The route table covers every pattern the router accepts, including the fallbacks that open the nearest nodes, map, or settings route for an unknown sub-path.
October 2026 β Persistence β Each connected node has its own database, app data backup and restore are documented, and telemetry is read from MeshLog rather than Packet.
October 2026 β Test Builds & Obtainium β Promotion moves one release from tag to tag, and post-release cleanup deletes the prereleases.
September 2026 β Navigation & Deep Links β Deep links route through Navigation 3βs UriDeepLinkMatcher instead of a hand-rolled when block.
September 2026 β Measurement & Formatting β NumberFormatter.format follows the OS locale; formatInvariant is the fixed-dot one for payloads another system parses.
September 2026 β Documentation Style β Section 11 of the Meshtastic design standards is now the style guide for docs/en/; this page keeps only the repository mechanics, the in-app rendererβs admonition form, and the prose rules the standards leave open.
August 2026 β Documentation Style β New page: the house style guide for docs/en/ prose, with rule IDs, a project word list, and the reasoning behind each convention.
August 2026 β Map tile sources are one shared catalogue in feature/map (MapTileCatalogue, RasterTileSpec), so both flavors draw the same raster base maps and overlays from one definition.
August 2026 β Both maps draw an imported featureβs own icon and drape a KMZ GroundOverlay image at its LatLonBox (rotation included) β MapLibre via an ImageSource quad, Google via GroundOverlayOptions (#3786).
August 2026 β Offline map-pack downloads are gated on offlineMapsSupported, since the MapLibre offline API compiles on Desktop but silently downloads nothing there.
August 2026 β New module feature/map-maplibre: the F-Droid flavor and Desktop now render every map surface (main map, node track, traceroute, discovery, inline mini-map) through maplibre-compose from one multiplatform module, and osmdroid is gone. The shared rules both renderers must agree on live in feature/map policy classes.