Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.02 KB

install.md

File metadata and controls

25 lines (17 loc) · 1.02 KB

Expo Installation

NOTE: This package cannot be used in the "Expo Go" app because it requires custom native code.

First install the package with yarn, npm, or expo install.

expo install @maplibre/maplibre-react-native

After installing this npm package, add the config plugin to the plugins array of your app.json or app.config.js:

{
  "expo": {
    "plugins": ["@maplibre/maplibre-react-native"]
  }
}

Next, rebuild your app as described in the "Adding custom native code" guide.

API

This plugin doesn't currently provide any additional properties for customization. The plugin simply generates the pre-install block in the ios/Podfile (the post-install block is not required for Expo support). No additional changes are done on Android.