trinadhkoya / React Native App Boilerplate
Projects that are alternatives of or similar to React Native App Boilerplate
react-native-navigation-bootstrap
Clone this repository to start a project based on
"react-native": "0.51.1",
"react": "^16.3.0-alpha.1",
"react-native-navigation": "^2.0.0",
"react-native-ui-lib": "^3.3.32"
Check react-native-navigation
's documentation for usage details.
preparing your project
Download npm dependencies:
npm i -g react-native-cli
npm install
Renaming the project
If you would like to rename the project you can use React Native Rename
After running React Native Rename, in order to run the project successfully, you will need to manually update your app name in src/screens.js
, where <appname>
is the name of your app.
- Navigation.registerComponent('reactNativeInit.App', () => App);
+ Navigation.registerComponent('<appname>.App', () => App);
Running your project
From project dir, run:
iOS
-
Run the packager
npm run start
-
Open the project in xcode from
ios/reactNativeInit.xcodeproj
-
Build and run from Xcode
Android
-
Start an emulator
-
Build and run
react-native run-android
This would also start a packager if not already started
-
Set your Emulator to live reload changes
⌘
+m
(cmd
+m
) =>Enable Hot Reloading
To open packager manually, from project dir run:
react-native start
LICENSE
The MIT License (MIT)
Copyright (c) 2018 Trinadh Koya
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:**