react-native-map-shoutem-boiler-plate

A super cool react native quick starter kit which includes redux, airbnb RN-map, shoutem ui toolkit and few other useful libraries.

Github星跟踪图

This is a quick starter for react native with useful libraries. It includes templates for following libraries:

The starter is mainly tested on Android, but it should work fine on ios also (please raise an issue if you find any problem on ios).

Installation

The pre requisite to make this template useful is setting up android / ios sdk with corresponding tools. You can use android-studio with sdk-manager to download required build tools.

The next thing you require is installing react-native-cli:

npm install -g react-native-cli

After that follow the steps below:

git clone https://github.com/Eyezon/react-native-map-shoutem-boiler-plate.git
yarn install

Now your application is ready with required libraries.
In order to use react-native-maps you have to add a valid google map API key in your AndroidManifest.xml file (location: [project-root]/android/app/src/). You should already see the following line in that file.
<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_API_KEY"/>

What you need to do is replace 'YOUR_API_KEY' with a valid google maps API key.

In order to use login with facebook you have to add a valid facebook app id in your strings.xml file (location: [project-root]/android/app/src/main/res/values). You should already see the following line in that file.
`

FanLikeYou
YOUR_FB_APP_ID

`
Replace 'YOUR_FB_APP_ID' with a valid facebook app ID. Make sure your facebook app is configured correctly, otherwise login with facebook feature will not work.

Open a shell prompt and run the api server by entering the following command.

node server/server.js

Finally, build and run the project either on emujlator or on a physical device through USB debugging.

react-native run-android

After the build is finished, run the following command to setup dev server.

react-native start

Image of Yaktocat
Image of Yaktocat
Image of Yaktocat

主要指标

概览
名称与所有者Thetaonelab/react-native-map-shoutem-boiler-plate
主编程语言JavaScript
编程语言JavaScript (语言数: 4)
平台
许可证
所有者活动
创建于2017-04-28 17:17:09
推送于2017-05-10 17:56:28
最后一次提交2017-05-10 23:25:27
发布数0
用户参与
星数9
关注者数2
派生数3
提交数12
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?