Answers for "run react native app in production mode"

1

run react native app in production mode

react-native run-android --variant release #android
react-native run-ios --configuration Release #ios
Posted by: Guest on October-15-2021
1

react native detect production

if (__DEV__) {
    console.log('Development');
} else {
    console.log('Production');
}
Posted by: Guest on October-05-2021

Code answers related to "run react native app in production mode"

Code answers related to "Javascript"

Browse Popular Code Answers by Language