/react-native-FBPortForwarding

Demonstration of loading React Native bundle over USB

Primary LanguageObjective-C

react-native-FBPortForwarding

Run react-native over USB. Sending bundle over USB instead of network. Perfect for work-place scenarios where you do not have access from phone to computer. Also great if you are a big team and you don't want to be dependent on IP-addresses.

  • cd FBPortForwardingDemo
  • npm install
  • Connect Phone
  • Open and run FBPortForwardingDemo/ios/FBPortForwardingDemo.xcworkspace on device. Should start two terminals when you run from xcode. the React-Native packager and FBPortForwardingClient/peertalk-client.

Bundle will be transferred over USB

All credits go to Facebook. Source: https://github.com/facebook/react-native/tree/master/Tools/FBPortForwarding