Fork me on GitHub
#cljsrn
<
2017-08-06
>
pesterhazy14:08:44

@euandre it works out of the box with re-natal

pesterhazy14:08:20

figwheel makes a network connections to host:port

pesterhazy14:08:03

re-natal makes this easy with use-ios-device / use-android-device commands

pesterhazy14:08:49

I still use the USB cable to upload the iOS app to the phone (using react-native run-ios)

pesterhazy14:08:03

but after that's done you can disconnect the usb cable and just use wifi

euandre14:08:56

@pesterhazy I did try it that way but it didn't work. I'll try to dig deeper and see what's going on. Thanks đŸ™‚

pesterhazy14:08:44

n.b. I'm not as familiar with the android side of things but it should work the same as with ios

mengu16:08:24

@chalcidfly there is no such thing as returning value from a promise however you can return a promise

euandre22:08:06

@pesterhazy For some reason, I keep getting a "Network request failed" error, just after the screen for "Waiting for Figwheel to load files." shows up. In the logcat, figwheel is "trying to open cljs reload socket"

euandre22:08:33

The app can connect to the React Native packager, it just can't reach Figwheel

euandre22:08:13

I'm actually having problems running adb reverse ...3449, as in https://issuetracker.google.com/issues/37066218