Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ccorcos opened this issue Apr 3, 2019 · 2 comments
Closed
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.

Comments

@ccorcos
Copy link
Contributor

ccorcos commented Apr 3, 2019

I'm trying to debug the application bootup and i want to skip the websocket server that downloads 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 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?

@ccorcos ccorcos added the Type: Question Issues that are actually questions and not bug reports. label Apr 3, 2019
@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Apr 3, 2019
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: No Template labels Apr 3, 2019
@ntnamag
Copy link

ntnamag commented May 10, 2019

Screen Shot 2019-05-10 at 14 10 36

@facebook facebook locked as resolved and limited conversation to collaborators Apr 3, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

3 participants