STARTER REACT NATIVE
Features
Installation
You need to first init a react native empty project with react-native init AwesomeProject.
Then insert starter's files into your newly generated app.
The entry file point is in src/Root.
Root);
">/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import { AppRegistry } from 'react-native';
import Root from './src/Root';
AppRegistry.registerComponent('MyApp', () => Root);
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import { AppRegistry } from 'react-native';
import Root from './src/Root';
AppRegistry.registerComponent('MyApp', () => Root);
Install dependencies
yarn install
RNFB_ANDROID_PERMISSIONS=true react-native link
RNFB_ANDROID_PERMISSIONS=true react-native link
Development
react-native run-android|run-ios
Build
Bugsnag source maps
npm run sourcemaps
iOS
Build via Xcode
Android
cd android
./gradlew assembleRelease
./gradlew assembleRelease