Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandu0101/sri-mapbox-gl
sri react-native-mapbox-gl example
https://github.com/chandu0101/sri-mapbox-gl
Last synced: 25 days ago
JSON representation
sri react-native-mapbox-gl example
- Host: GitHub
- URL: https://github.com/chandu0101/sri-mapbox-gl
- Owner: chandu0101
- Created: 2015-11-17T09:49:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T09:50:22.000Z (about 9 years ago)
- Last Synced: 2024-10-15T08:45:34.874Z (2 months ago)
- Language: Scala
- Homepage:
- Size: 131 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sri MapBox GL
# How To Run
### React Native Playground
```scala
sbt ~fullOptMobile
// this will generate index.ios.js and index.android.js files
```
1) go to https://rnplay.org/ -> Signin -> NewApp -> name it as `SriMobileTemplate`
2) Replace content of index.io.js and index.android.js files with content from files that are generated using sbt ~fullOptMobile
### Simulator/Device
-> Install Node.js 4.0 or greater using [nvm](https://github.com/creationix/nvm#installation)
```
sbt ~fullOptMobile
//open new terminal
npm install
npm start
```#### Mac
-> `brew install watchman`
-> `npm install -g react-native-cli`
**iOS**
Open `ios/SriMobileTemplate.xcodeproj` in xcode(> 6.3) and hir run button
**Android**
Follow this guide : https://facebook.github.io/react-native/docs/android-setup.html
in mobile-examples folder run `react-native run-android`
#### Windows and Linux
http://suyogkc.com.np/react-native-for-windowslinux/