Skip to content

Android: events are no longer received after reload from bundler #113

Closed
@rikardg

Description

@rikardg

First, thank you for your work on providing this package, it is much appreciated!

Issue

On Android, after a reload from the bundler, the keyboard events are no longer received. Steps to reproduce:

  1. Build and start the example Android app from this repo.
  2. Go to "3. Events".
  3. Activate the text input. A notification is displayed that the keyboard is shown. Hide the keyboard, and a corresponding hide notification is shown.
  4. Reload the app from the bundler, e.g. by pressing Cmd/Ctrl+M or via the dev menu.
  5. Now repeat from step 2 above, but note that no notifications are displayed, indicating that no events are received.

Expected behaviour is that events are still received after a reload.

Platform information

  • Desktop OS: macOS 13.1
  • Device/OS: Android emulator/API level 31, Huawei P10/Android 7.0, and others.
  • RN version: 0.70.5
  • RN architecture: default from example app
  • JS engine: default from example app
  • Library version: 1.4.2

I have not built the example app for iOS, but the events are working properly in the app where the problem was discovered. This seems to be Android specific.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions