expo: Dev menu doesn't show up any more when you shake the device on Android

🐛 Bug Report

Environment


  Expo CLI 3.17.18 environment info:
    System:
      OS: macOS 10.15.3
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 13.8.0 - /usr/local/bin/node
      Yarn: 1.22.0 - /usr/local/bin/yarn
      npm: 6.14.4 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    IDEs:
      Android Studio: 3.6 AI-192.7142.36.36.6200805
      Xcode: 11.4/11E146 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^37.0.6 => 37.0.6 
      react: 16.9.0 => 16.9.0 
      react-native: https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz => 0.61.4 
      react-navigation: ^4.3.7 => 4.3.7 
    npmGlobalPackages:
      expo-cli: 3.17.18

Target: Android

Steps to Reproduce

Shake device

Expected Behavior

Should show the new dev menu

Actual Behavior

Doesn’t show anything

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 5
  • Comments: 17 (6 by maintainers)

Commits related to this issue

Most upvoted comments

I’m seeing this on an emulator with Expo 37. If I use expo start and then Run on an android device/emulator none of the normal actions (CTRL+M nor ./adb shell input keyevent 82) will get the Dev menu to open. If I switch out of the app, open the installed Expo app, and then switch back to my app it starts working.

The emulator I’m using is a Pixel 2 running Android Pie/API 28. I start it with -wipe-data every time for a completely clean emulator, so nothing residual is causing this.

I have the same problem, it happens when the project is run without having opened the expo app and it doesn’t happen in new projects. There are other issues related to the status bar and keyboard moving screens up, any intention of releasing these fixes before version 38?