react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

how can i run the project on my windows device?

Open radha-bacancy opened this issue 8 years ago • 4 comments

radha-bacancy avatar Apr 20 '18 07:04 radha-bacancy

@radha-kotecha Refer: https://github.com/Microsoft/react-native-windows/blob/master/docs/GettingStarted.md

piyush965 avatar Apr 20 '18 08:04 piyush965

@piyush965 i have created the project which is running on a my laptop but i want to deploy the same in my mobile phone i followed all the steps of https://github.com/Microsoft/react-native-windows/blob/master/docs/RunningOnDeviceWindows.md yet the JS bundle cannot be fetched.

radha-bacancy avatar Apr 20 '18 09:04 radha-bacancy

image this is the issue i am facing

radha-bacancy avatar Apr 20 '18 10:04 radha-bacancy

@radha-kotecha unfortunately we don't have anything like adb reverse on Windows, and we also have yet to implement a developer settings page where you can configure the URI from the app, so you have to edit the packager server URI in source code to match the IP of your development machine and redeploy the app. The location of this setting is here: https://github.com/Microsoft/react-native-windows/blob/c8ef244b91b7c3f2b7d01df44fb638439f3479a2/ReactWindows/ReactNative.Shared/DevSupport/DevServerHelper.cs#L27

Closing this, as it is actually a dupe of #478, #1378, #650, etc.

rozele avatar Apr 20 '18 15:04 rozele