Giter Club home page Giter Club logo

react-native-openbridges's Introduction

Open Bridges Open?๐Ÿ‘ Close?๐Ÿ‘Ž

Screenshots

screenshot-1 screenshot-2 screenshot-2

Project Setup

Project to track the DrawBridges status (up/down)

  1. Run
    1. Enter the project folder
    2. connect your device using usb debug mode or a Virtual Device.
    3. react-native run-<android/ios>
  1. Open on your device
    1. using devTools link
      1. Open the DevTools url, something like: Expo DevTools is running at http://localhost:19002
      2. press press run on Android Device/Simulator

Debugging

  • install:
    • yarn global add react-devtools
  • usefull commands:
    • use toggle inspector (in app)
    • remote JS debugging
    • react-devtools and Ctrl Shift I on Windows opened URL
    • adb shell input keyevent 82 (send the options to the phone or shake)
    • adb logcat *:S ReactNative:V ReactNativeJS:V
    • react-native log-ios
    • react-native log-android
    • react-devtools
    • adb shell am start -n packagename/.MainActivity (reopen the app)
    • adb shell input text "word" usefull when retype from pc
    • npm start -- --reset-cache reset cache
    • adb reverse tcp:8081 tcp:8081 force the reverse connection from phone-pc
    • inside android run ./gradlew assembleRelease
  • release commands:
    • cd android && ./gradlew assembleRelease
    • output /android/app/build/outputs/apk/release/app-release.apk
    • react-native run-android --variant=release

for more: https://facebook.github.io/react-native/docs/debugging

react-native-openbridges's People

Contributors

doriclaudino avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.