Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 625 Bytes

React-Native.md

File metadata and controls

33 lines (22 loc) · 625 Bytes

React Native Setup

First install @vietmap/vietmap-gl-react-native with the package manager of your choice, e.g. with yarn:

yarn add @vietmap/vietmap-gl-react-native

Android

Android doesn't need any further specific setup. Simply rebuild your app.

iOS

On iOS it's necessary to add $MLRN.post_install(installer) to the post_install block in the ios/Podfile is necessary:

post_install do |installer|
  # Other post install hooks...
+ $MLRN.post_install(installer)
end

Afterward run pod install in the ios directory:

cd ios
pod install

Now rebuild your app.