This repository contains a React Native demo application with a simple station map using Mapbox. This application belongs to the following article: Chargetrip Tile Service with React Native and Mapbox. This article explains how you can use the Chargetrip Tile Service in a React Native application. Together with the instructions in this README you should be able to run this demo.
If something is not explained or you are having troubles running this application, please let us know by opening an issue or contacting us in Spectrum chat. We improve our documentation continuously, and your feedback is valuable.
- yarn
- node
- Watchman
- XCode ios
- Android Studio9s android
For a detailed guide regarding running a React Native app check the official documentation.
Install all the dependencies:
$ yarn && cd ios && pod install && cd ..
Run the Metro bundler:
$ yarn start
You can now build the app for tusing yarn ios
or yarn android
.
- Chargetrip GraphAPI docs
- Chargetrip GraphAPI playground
- Chargetrip GraphAPI schema information.