Step 1: git clone this repo:
Step 2: cd to the cloned repo:
Step 3: Install the Application with npm i
- cd to the repo
- Run Build for either OS
- for Android
- Run Genymotion/Device
- run
react-native run-android
Create this file in android folder: heremaps.gradle
ext {
heremap_appid ='YOUR_HERE_MAP_APP_ID'
heremap_apptoken = 'YOUR_HERE_MAP_APP_TOKEN'
}
In here maps website, you need to configure your Android Package name, and when you create your android project you will need to use the same Package name configure in here maps.
//Latitude, Longitude, Zoom, Title, Description (if title is null, the description doesnt appear in maps marker)
HereMapsModule.openHereMaps(-20.5375968, -47.3830002, 17, 'My Title', 'My description')