expo / expo

An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
https://docs.expo.dev
MIT License
35.04k stars 5.61k forks source link

Pressing 'r' on bluetooth keyboard connected to running app restarts the app #31090

Open ink404 opened 3 months ago

ink404 commented 3 months ago

Summary

When you're running an app through the dev client on a physical device with a keyboard connected to that physical device, pressing 'r' on the keyboard sends the reload command to the dev client refreshing the app.

Managed or bare workflow?

managed

What platform(s) does this occur on?

Android, iOS

Package versions

expo-dev-client: 4.0.23 expo-updates: 0.25.22

Environment

  expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.6.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
      Yarn: 1.22.22 - ~/.nvm/versions/node/v18.18.2/bin/yarn
      npm: 10.8.2 - ~/.nvm/versions/node/v18.18.2/bin/npm
    Managers:
      CocoaPods: 1.15.2 - /Users/ink.user/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.5, iOS 17.5, macOS 14.5, tvOS 17.5, visionOS 1.2, watchOS 10.5
      Android SDK:
        API Levels: 31, 33, 34
        Build Tools: 30.0.3, 31.0.0, 33.0.0, 33.0.1, 33.0.2, 34.0.0, 34.0.0, 35.0.0
        System Images: android-34 | Google APIs ARM 64 v8a
    IDEs:
      Xcode: 15.4/15F31d - /usr/bin/xcodebuild
    npmGlobalPackages:
      eas-cli: 10.2.1
    Expo Workflow: managed

Reproducible demo

https://github.com/expo/expo-template-default

Stacktrace (if a crash is involved)

No response

CreativeBuilds commented 2 weeks ago

This has been an issue for years it looks like, found an older issue https://github.com/expo/expo/issues/19911 that got locked by the bot for inactivity and looks like it was never solved, really disappointing to see tbh