diff --git a/docs/install.md b/docs/install.md index 5fe6909..9156851 100644 --- a/docs/install.md +++ b/docs/install.md @@ -163,6 +163,39 @@ Add `RNMapboxMapsDownloadToken` to the @rnmapbox/maps [config plugin](https://do +## Rebuild + + + + +```sh +npm run ios +``` + + + + +```sh +npm run android +``` + + + +React Native Mapbox Maps cannot be used in the "Expo Go" app, because it requires [custom native code](https://docs.expo.dev/workflow/customizing/). + +Next, if you are not using EAS Build then you must rebuild your app as described in the ["Adding custom native code"](https://docs.expo.dev/workflow/customizing/) guide to include the config plugin changes. If this command isn't run, you'll not be able use `@rnmapbox/maps`. + +```sh +expo prebuild --clean +``` + + + + ## Using V11 @rnmapbox 10.1 supports both `10.16.*` and `11.0.*` versions, but defaults to `10.16.*`. To use `11.0.*` please configure according to your platform: