graphhopper-maps-capacitor
graphhopper-maps-capacitor copied to clipboard
Capacitor Wrapper for GraphHopper Maps
Graphhopper Maps with GPS Navigation
This Android app is currently a capacitor-wrapper for the navi branch of GraphHopper Maps. There are many known limitations for the turn-by-turn navigation feature (as it happens in the browser) and if it is not possible to fix them in the browser we can fix them here.
Install
We provide automatically generated build artifacts for every commit. You can find them in the actions tab.
Otherwise, you can download stable versions on F-Droid:
Development
Clone the repository
git clone --recursive https://github.com/boldtrn/graphhopper-maps-capacitor.git
Build the project
Make sure you have all the required dependencies for Capacitor.
./build.sh
Run the project
Note: you can either run the app straight away or open it in Android Studio. You can generate an APK in Android Studio, or debug the app etc.
Open Android App
npx cap run android
Open in Android Studio
npx cap open android
Release Update Version
- Make sure to pull the latest version of the submodule "graphhopper-maps". (Automated build tools should do this anyway)
- Open
android/app/build.gradleand increment theversionCodeand set theversionName. Note that the tag name must bev<versionName>because in F-Droid they require this in the metadata/com.graphhopper.maps.yml -> (AutoUpdateMode: Version v%v). - Write changelog in
fastlane/metadata/android/en-US/changelogs/<versionCode>.txt - Commit
- Tag commit
- Create a tag using
git tag -a v1.0.1 - Push tags
git push origin --tags
- Create a tag using
