@i2sts/react-native-here-maps
v1.0.9
Published
Heremap React native Library
Downloads
28
Readme
React Native HereMaps
Android Here Map SDK Plugin
Manifest
Add the Following in your android project Manifest:
- Permissions
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- Before ending tag add sdk credentials from heremap
<meta-data
android:name="com.here.android.maps.appid"
android:value="xxxxxxxxxxxxxxxxxx" />
<meta-data
android:name="com.here.android.maps.apptoken"
android:value="xxxxxxxxxxxxxxxxxxx" />
<meta-data
android:name="com.here.android.maps.license.key"
android:value="xxxxxxxxxxxxxxxxxxxxxxxx" />
Replace xxx with your credentials
In case of shared Lib error Add a line on MainApplication.java
System.loadLibrary("c++_shared");
before super.onCreate();
and still the error presides add this line on your project build.gradle after buildtypes close
packagingOptions {
pickFirst '**/*.so'
}
License
MIT