Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ReactNative Application with TypeScript Support

TechGeekD/ReactNative-TypeScript

Repository files navigation

ReactNativeTS

js-standard-style

Description:

  • Can Use Script(useful if running app in physical device) for React-Native Commands i.e. run pakcakge, run on platform or reload app

Usage:

  • $ ./run.sh [param1 [param2 [param3]]]

    • param1 (optional):

      • 'r' or 'p' for silent run [if passed script will run in silent mode]
      • 'rr' to reload app [for now supported on android device only]
      • 'rd' to open react-devtools
    • param2 (optional):

      • 'a' or 'A' for android & 'i' or 'I' for ios [can pass if param1='r']
    • param3 (optional):

      • 'deviceName' for ios [can pass if param1='r' & param2='i' or 'I']

EXAMPLE:

- "./run.sh rr" or "./run.sh RR" [will reload app (android device only)]
- "./run.sh rd" or "./run.sh RD" [will open react-devtools]
- "./run.sh p" [will run packager]
- "./run.sh r" [will run app on default platform android]
- "./run.sh r a" or "./run.sh r A" [will run app on android platform]
- "./run.sh r i" or "./run.sh r I" [will run app on ios platform]
- "./run.sh r i iPad" or "./run.sh r I iPad" [will run app on ios device named in param3]

NOTE:

- make sure ios-deploy is installed for ios build to run on physical device
- if not please install it using `npm install -g ios-deploy`

About

ReactNative Application with TypeScript Support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /