React Native production build

React Native documentation tells you to change source code manually to switch between development and production builds.

https://facebook.github.io/react-native/docs/running-on-device.html#building-your-app-for-production

Is this the only option? Why isn't there a way that allows you to flag this and generate a production build using the same source code?

Comments

Popular posts from this blog

flutter websocket connection issue

React-native : Unable to use react-native-fast-image

reinterpret_cast bug or UB? [duplicate]