RNG is intended to be a source of inspiration for building your own react-native application. It has enough that you can move past the "what should I use" phase and right into building!
Defend your app, take your shield!🛡
Built for the modern RN developer.
✅ ES6
✅ Eslint
✅ Axios
✅ MobX
✅ MobX-Persist
✅ React-Native V0.51.0
✅ React-Native-FBsdk
✅ React-Native-Router-Flux V4
✅ React-Native-Easy-Grid
✅ React-Native-Vector-Icons
"Update once, update everywhere."
Start a consistent design system from the start.
Create or copy a folder that includes:
- Index.js
- Styles.js
- Component.js
In Styles.js
place import { Colors, Fonts } from '@theme/'
In Component.js
place import Styles from './Styles'
The router is protected with a combination of the fb-sdk
, mobx
, mobx-persist
, and react-native-router-flux
.
In order for this to work, you need to also download and install the RNG-Server.
Change these few files and functions:
- Open
userStore.js
- Replace
signIn
,signUp
,createUser
, andfetchUser
- Update
api.js
with your server address
Make sure you're set up for React Native
Make sure you have Node 6.5+
You can check your version of node by running
node -v
yarn
If you don't have it, install Yarn for your system.
rnpm link
Head over to the repo and follow the install instructions.
or provide your own server 😄
Make sure you have followed all the steps in the React-Native-Fbsdk
A couple of tips!
- Make sure you have the
FacebookSDK
folder in~/Documents
- Check xCode
Build Settings
-->Framework Search Paths
for a path to step 1. - If no path, drag your
FacebookSDK
folder from~/Documents
in - Check your
info.plist
for proper credentials - Open an issue if all else fails