Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

How to disable react native dev mode in debug build configuration for iOS?

$
0
0

I'm trying to debug the application bootup and I want to skip the websocket server that downloads the js from the react native bundler.

Everything I've read on the internet just says to use release build configuration, but I need the debug configuration in order to debug my app.

I found this little bit in the documentation that prevents the bundle from re-building but it still connects to the websocket server to download the bundle instead of building it in.

https://facebook.github.io/react-native/docs/running-on-device.html#pro-tips

I also tried setting #define RCT_DEV 0 in RTCDefines.h but that caused other build errors importing RCTReconnectingWebsocket...

Any ideas how to do this?


Viewing all articles
Browse latest Browse all 16552

Trending Articles