Skip to content

Conversation

@texaskst
Copy link
Contributor

Online maps prevent Meshtastic app to be used with no internet connection. The recent app version allows adding custom tile servers. So in order to make it autonomous you can spin up a local tile server on your Android device and point the Meshtastic app to fetch tiles from localhost.
Problem with this approach is that the map component only allows HTTPS schema to be used. And making your local tile server working with HTTP is not a trivial task, mainly due to the self signed certificates.
This PR adds network configuration that will allow the app to use HTTP for localhost only.
With this you can spin up a tiny tile server and use it as a map tile source without any internet connection

@CLAassistant
Copy link

CLAassistant commented Dec 15, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@jamesarich jamesarich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting method to accomplish offline maps - nice.

@jamesarich jamesarich enabled auto-merge December 15, 2025 20:37
@jamesarich jamesarich added this pull request to the merge queue Dec 15, 2025
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.57%. Comparing base (298d469) to head (6243722).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3976   +/-   ##
=====================================
  Coverage   0.57%   0.57%           
=====================================
  Files        401     401           
  Lines      23852   23852           
  Branches    3060    3060           
=====================================
  Hits         136     136           
  Misses     23695   23695           
  Partials      21      21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Merged via the queue into meshtastic:main with commit 42e78f8 Dec 15, 2025
6 checks passed
@jamesarich jamesarich added this to the 2.7.10 milestone Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants