Issue
I thought you could do this with react-native run-android --dev=false
, but doing this doesn't stop the developer menu from showing up when I shake the phone and the request url to the packager has dev=true
in the url params.
Solution
There are two configurations Release
and Debug
. By default apps run in debug
mode. To run in Release
mode
react-native run-android --mode release #android
react-native run-ios --mode Release #ios
To find other available options
react-native run-ios -h
react-native run-android -h
Answered By - Haseeb A
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.