This app uses MapLibre as map engine, and Geoapify for the map data and routing engine.
Download android studio then clone the project
git clone [email protected]:INSA-5ISS-safe-city-for-cyclists/android-app.git
Open the project on Android Studio and sync gradle.
Geoapify maps needs an api key to work which is not synced in git.
- If you are a repo admin
- You can access the github secrets to retrieve the contents of the file
secrets.xml
. Copy the contents and put it inapp/src/main/res/values/secrets.xml
.
- You can access the github secrets to retrieve the contents of the file
- If you are not a repo admin
- Create a new file in
app/src/main/res/values/secrets.xml
with the following structure And replaceYOUR_TOKEN
with your own Geoapify token.
- Create a new file in
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="geoapify_access_token">YOUR_TOKEN</string>
</resources>