Sample application for React Native Mapbox GL from react-native init command.
Also this application targets OpenMapTiles project and supports Tileserver-GL.
App.js includes the fake accessToken to pass error in Android validateAccessToken.
You need setup React Native and your tile server.
yarn
vim App.js # edit styleURL
yarn run start # start servercd ios
pod install
open ReactNativeMapboxGLTestClient.xcworkspaceand run in Xcode.
Start android emulator and
react-native run-android- Just use jesseditson/react-native-mapbox-gl#v6_cocoapods to support current cocoapods. See PR #741.