Skip to content

tombombadilom/react-native-mapbox-navigation

 
 

Repository files navigation

react-native-mapbox-navigation

A React Native wrapper for MapBox Navigation upgraded to version 0.59.9

=> updated react-native-geolocation-service by @react-native-community/geolocation

=> updated android.support.annotation by andoidx.annotation

=> installed jetifier

=> working on android but needs ios debug because i don't have a Mac

=> updated App.js to start at gps current position

Installing the app

Installing the node dependencies

$ npm install

Installing the iOS dependencies

Installing Pods if not installed

$ sudo gem install cocoapods

Installing the dependencies

$ cd ios && pod install

Adding your Mapbox Token

Android replace {MAP_BOX_TOKEN} by your token in: react-native-mapbox-navigation/android/app/src/main/res/values/strings.xml

iOS replace {MAP_BOX_TOKEN} by your token in: react-native-mapbox-navigation/ios/RNMapboxNavigation/Info.plist

Running the app

iOS from the Terminal

Run one of the command listed below

$ react-native run-ios

Android from the Terminal

Run one of the command listed below

$ react-native run-android

About

A React Native wrapper for MapBox Navigation 0.59.9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 41.4%
  • JavaScript 20.4%
  • Objective-C 19.2%
  • Swift 10.3%
  • Starlark 7.4%
  • Ruby 0.9%
  • C 0.4%