Navigation Menu

Skip to content

PowerlineApp/powerline-rn

Repository files navigation

Powerline React Native App

Development of Powerline React Native App

Requirements

  1. React Native (follow iOS and Android guides)
  • Xcode 8.2 +
  1. CocoaPods (only for iOS)
  • Version 1.0+ recommended (gem install cocoapods --pre)

Setup

  1. Clone the repo
$ git clone https://github.com/PowerlineApp/powerline-rn.git
$ cd powerline-rn
  1. Install dependencies (npm v3+):
$ npm install
$ react-native link
$ cd ios && pod install
$ xopen
  1. Running on Android:
$ react-native run-android
$ adb reverse tcp:8081 tcp:8081   # required to ensure the Android app can
$ adb reverse tcp:8080 tcp:8080   # access the Packager and GraphQL server
  1. Running on iOS:
$ react-native run-ios
  1. Build an APK:
$ npm start
$ npm run bundle:android
$ npm run build:android

Troubleshooting

Could not connect to development server

In a separate terminal window run:

$ react-native start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages