Have a similar issue on my iPhone and Android phones. The developer’s menu doesn’t shows up in my app. Tested this on emulators and real devices. Shaking, Cmd+M worked before but suddenly stopped right now.
The build logs show the following:
__DEV__ === false, development-level warning are OFF, performance optimizations are ON
Running the debug configuration of my build in the IDE, but it still reports DEV to be false. Can’t find the way to switch the DEV to true.
UPD: Tried the following tip: Go to terminal and press “P” to toggle production/development mode. You will see something like this:
[11:34:35] Metro Bundler is now running in development mode.
Please reload the project in the Expo app for the change to take effect.
Press ? to show a list of all available commands.
Found it here: https://docs.expo.io/versions/latest/workflow/development-mode/#toggling-development-mode-in-expo-cli
Also tried the steps described here:
THIS DOESN’T WORKS and still reports DEV === false
UPD #2: It turns out the React native caches the metadata locally on the device, so you need to remove the app on iPhone and clean the app data on Android to see the changes.
Fund it here: https://github.com/expo/expo/issues/1019
Now everything WORKS AS EXPECTED!