I develop a react-native app where some API calls should be made.
If I\'m in production mode my app should call, for example, this host :
https://exa
The constant __DEV__ is set automatically.
__DEV__
Building the bundle via --dev=false should unset __DEV__.
--dev=false
if (__DEV__) { console.log('Development'); } else { console.log('Production'); }