React Native + React-Redux + Native Base + Code Push

Overview

React-Native-Starter-Pack

React Native + React-Redux + Native Base + Code Push

##Setting Up Project

  1. npm i -g rninit

  2. rninit init <new-app-name> --source [email protected], this is basically "react-native init" but you can specify a version of react-native

  3. git init

  4. git add . && git commit -m "first commit"

  5. git remote add starterpack https://github.com/iSimar/React-Native-Starter-Pack.git

  6. git pull starterpack

  7. git merge -s recursive -X theirs starterpack/master

  8. Change new_app_name in index.ios.js (line 5), index.android.js (line 5) and package.json (line 2) file to <new-app-name>

  9. npm install

  10. code-push app add <new-app-name>

  11. react-native link, put the production code-push key from step 10 when prompted

  12. git add . && git commit -m "first production commit"

##Deploying Changes Through Code Push

  1. Make your code changes

  2. code-push release-react <new-app-name> ios --deploymentName Production, release for ios

  3. code-push release-react <new-app-name> android --deploymentName Production, release for android

Tip: if you messed up a release and want to rollback use code-push rollback <new-app-name> Production

code-push release-react command options:

code-push release-react <appName> <platform>
[--bundleName <bundleName>]
[--deploymentName <deploymentName>]
[--description <description>]
[--development <development>]
[--disabled <disabled>]
[--entryFile <entryFile>]
[--mandatory]
[--plistFile <plistFile>]
[--plistFilePrefix <plistFilePrefix>]
[--sourcemapOutput <sourcemapOutput>]
[--targetBinaryVersion <targetBinaryVersion>]
[--rollout <rolloutPercentage>]
  1. You can view your current deployment stats using code-push deployment history <new-app-name> Production

##Store Releases

If you want to release a new update of your app through the play store or app store, do the following:

  1. Make your code changes.

  2. Increment app version number in ios/<new-app-name>/Info.plist (CFBundleShortVersionString & CFBundleVersion) and android/app/build.gradle (versionCode & versionName)

  3. Build and submit your app to the store

You might also like...
Pepperoni - React Native App Starter Kit for Android and iOS
Pepperoni - React Native App Starter Kit for Android and iOS

Futurice React Native Starter Kit ⚠️ Deprecation Warning Dear community, as time moved on so did React Native and we've not been able to provide conti

React Native Meteor Boilerplate

React Native Meteor Boilerplate This is a simple way to get started building an app with React Native and Meteor. It is opinionated to make it easy fo

A React Native template for building solid applications, using JavaScript or Typescript (you choose).
A React Native template for building solid applications, using JavaScript or Typescript (you choose).

TheCodingMachine React Native boilerplate This project is a React Native boilerplate that can be used to kickstart a mobile application. The boilerpla

Get your favorite boilerplate of React Native

ReactNativeSeed.com This repo is used to collect stars for ReactNativeSeed.com. About ReactNativeSeed.com provides you with a number of React Native B

🚀A powerful react native starter template that bootstraps development of your mobile application
🚀A powerful react native starter template that bootstraps development of your mobile application

React Native Starter 🚀 View Demo | Download | More templates | Support forum You're viewing the new and updated version of React Native Starter, prev

Boilerplate of a React Native project in Typescript.
Boilerplate of a React Native project in Typescript.

ReactNativeTS ⚠️ Not maintained anymore, better check Microsoft/TypeScript-React-Native-Starter. Minimal template of a React Native project with Types

Professional react-native starter kit with everything you'll ever need to deploy rock solid apps
Professional react-native starter kit with everything you'll ever need to deploy rock solid apps

WARNING This starter kit has been deprecated and is no longer being actively maintained by Ueno. React Native Starter The Professional React Native St

Configuration to build React Native apps with ES6 using webpack and Babel

React Native in ES6 with webpack and Babel DEPRECATED! It's possible to write React Native apps in ES6+ using babel-loader and webpack. Check better a

🚀🚀🚀Build universal cross-platform apps with React Native. Includes latest iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms
🚀🚀🚀Build universal cross-platform apps with React Native. Includes latest iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms

build universal cross-platform apps with react native Introduction Video Quick Start • Features • Templates • Plugins • Integrations • JSON Configurat

Comments
  • Multiple errors from step 6 and 7.

    Multiple errors from step 6 and 7.

    Hi,

    When i run step 6

    $ git pull starterpack i get

    You asked to pull from the remote 'starterpack', but did not specify
    a branch. Because this is not the default configured remote
    for your current branch, you must specify a branch on the command line.
    

    and when i run step 7 after that

    $ git merge -s recursive -X theirs starterpack/master

    i get

    fatal: refusing to merge unrelated histories.
    

    are we running unrelated histories? how to fix?

    Thank you for a great project.

    opened by maotora 0
Owner
Simar
true.dat()
Simar
Just a starter code to use redux and react-native with Login

React Native Redux Starter Code Login using Redux, Redux Saga and Redux Storage Good practice to create a Login using Redux, Redux Saga and Redux Stor

Sibelius' Projects 177 Oct 30, 2022
React Native Boilerplate - Redux + Saga + Reselect + redux-persist + react-navigation + TypeScript

React Native Boilerplate with Typescript Overview This React Native template for building solid applications through SOC(separation of concerns) betwe

Mengheang Rat 14 Oct 5, 2022
React Native Typescript starter kit / template (Redux Thunk + React Native Navigation v7 + TSLint)

React Native Template - TypeScript An opinionated React Native Starter Kit with React Native Navigation + Redux + Airbnb TSLint to build iOS and Andro

Amit Mangal 269 Dec 29, 2022
Barton Hammond 4.6k Jan 2, 2023
React Native Starter App with NativeBase + CodePush + Redux

Discontinued in favour of ReactNativeSeed.com Native Starter Kit v6.1.0 A Starter Kit for React Native + NativeBase + React Navigation + Redux + CodeP

null 1.6k Dec 9, 2022
react-native-hot-redux-starter ★135

React Native Hot Redux Starter (deprecated) Hot reloading is now built into React Native, so use that instead of this. This is a starter kit for build

Adam Pash 137 Feb 14, 2022
React native starter using typescript and redux-saga.

?? React Native Boilerplate - May 2021 React Native Boilerplate is a starting point for React Native application. This project is configured with redu

Vilmar Cabañero 2 Feb 3, 2022
Demo app for React Native Elements (w/ React Native Web)

React Native Elements App Mobile App This is the Demo app for React Native Elements built with Expo. The purpose of this app is to demonstrate the usa

React Native Elements 1.3k Jan 6, 2023
Rhinos-app is a react-native app which uses react-native-web to achieve cross-platform design.

Rhinos-app Rhinos-app is a react-native app which uses react-native-web to achieve cross-platform design. Live Demo: web version ?? FEATURES: ?? ?? Ru

null 82 Feb 14, 2022
Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Ignite - the hottest React Native boilerplate Battle-tested React Native boilerplate The culmination of five years of constant React Native developmen

Infinite Red, Inc. 14.7k Jan 5, 2023