Skip to content
/ react.native Public template

init application react native using dva-core

Notifications You must be signed in to change notification settings

tannguyen208/react.native

Repository files navigation

🔥🔥🔥🔥 react native app with @tanna

Example

Using

Login screen

Home screen

Home screen

🤔 Clone

git clone https://github.com/tannguyen208/react.native.git <your_app_name>
cd <your_app_name>

🤔 Installation

Use the package manager tanna to install tanna.

npm install
// or
yarn install

🤔 Usage

What simply works for me several times is instructed below.

  1. First copy the directory which your to-be-name-changed application exists. And go to your newly cloned directory.
  2. Change the name at index.ios/android.js file which is given as a parameter to AppRegistry.
  3. Change the name and version accordingly on package.json.
  4. delete /ios and /android folders which are remaining from your older app as well as the app.json file if you have.
  5. Generate /ios and /android folders again, run:
react-native upgrade
  1. For any external dependency, run:
react-native link
  1. Use code push
  2. complete. 🤣

🤔 Developer

With android

npm run android 
// or
yarn android

With ios

npm run ios
// or
yarn ios

🤔 License

MIT

🤔 Version

1.0.0