/React-Native-Template

Single code based, with splash screen

Primary LanguageJavaScriptMIT LicenseMIT

React Native Template

What is this?

A simple starter template for react native mobile app on both iOS and Android platform. In the original template offered from facebook you have to modify both entry file for iOS and Android, this starter is meant to save your time on structuring file system and include some basic components to use. I will keep adding basic features as demanded.

Table of Contents

Feature

  • Single code based design, modify app.js as index file will affect both iOS and Android end.
  • Splash screen include with style.

Run

Requirements:

  • Make sure you have NodeJS installed.

    # Or use homebrew
    brew install node
  • Make sure you have Watchman installed.

    # Or use homebrew
    brew install watchman
  • Make sure you have React Native CLI installed.

    npm install -g react-native-cli
  • Make sure you have proper development environment set up.

    Xcode

    Android Studio

To Test and Run:

  • Download and unzip the repo, then cd to the root of the template.

  • Install dependecy.

    npm install
  • Run on desired emulator.

    # for iOS
    react-native run-ios
    
    # for Android
    react-native run-android

License

This library is licensed under MIT. Full license text is available in COPYING.

Contributing

See CONTRIBUTING.