React Naitve Tmap Library
For More detail visit Tmap - SK planet
When you use this module, you have to get API KEY
You can get API KEY this site --> https://developers.skplanetx.com/apidoc/kor/tmap/
This module only supported Android
npm install --save react-native-tmap
react-native link
- Add 'react-native-tmap' to a project as a dependency in 'package.json' file.
- Execute 'npm install' to fetch and install a library.
- Open Android project located in './android' folder.
- In settings.gradle add following lines :
include ':react-native-tmap'
project(':react-native-tmap').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-tmap/android')
- In 'MainApplication.getPackages' import and add RNTmap package:
import com.kwanghyuk.RNTmapPackage;
...
public class MainApplication extends Application implements ReactApplication {
...
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNTmapPackage()
);
}
}
- In 'build.gradle' of 'app' module add following dependency:
dependencies {
...
compile project(':react-native-tmap')
...
}
preparing