Skip to content

[0.74] Cannot access Dev Menu on Android (RNTester) #43451

@huntie

Description

@huntie

Description

I'm unable to access the Dev Menu on Android using the keyboard shortcut trigger.

Screen.Recording.2024-03-12.at.18.49.01.mov

Steps to reproduce

I tested from the react-native repo (main and 0.74-stable branches).

  1. Install RNTester on a local Android emulator.

    cd packages/react-native/
    yarn android
    
  2. Attempt to open Dev Menu:

    • Cmd + M shortcut
    • adb shell input keyevent 82

React Native Version

0.74.0-rc.2

Affected Platforms

Runtime - Android

Output of npx react-native info

info Fetching system and libraries information...
System:
  OS: macOS 14.4
  CPU: (10) arm64 Apple M1 Pro
  Memory: 142.77 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.nvm/versions/node/v18.18.2/bin/node
  Yarn:
    version: 1.22.19
    path: ~/homebrew/bin/yarn
  npm:
    version: 9.8.1
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 2024-03-11T04:15:49Z
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /Users/huntie/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10406996
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.8
    path: /Users/huntie/.jenv/shims/javac
  Ruby:
    version: 2.7.4
    path: /Users/huntie/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

Reproducer

https://github.com/facebook/react-native/tree/main/packages/rn-tester

Screenshots and Videos

No response

Metadata

Metadata

Assignees

Labels

Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Resolution: PR SubmittedA pull request with a fix has been provided.release-blockingThis is a release-blocking issue against current release candidate

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions