Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/