Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyboardRegistry and KeyboardAccessoryView do not work with recent react-native 0.74.1 #3085

Open
4 of 7 tasks
zzorba opened this issue May 22, 2024 · 8 comments
Open
4 of 7 tasks
Labels
bug a bug in one of the components

Comments

@zzorba
Copy link

zzorba commented May 22, 2024

Description

Created a new react-native project, setup reanimated + gesture-handler + react-native-ui-lib.

I copied over the demo app for KeyboardRegistry, but it fails at runtime (on both iOS and Android) complaining that either:

  • iOS: "KeyboardTrackingViewTemp" was not found in the UIManager
  • Android: "CustomKeyboardViewNativeTemp" was not found in the UIManager.

I've tried in more complex projects as well, but this very simple one seems to no longer have access to its native modules.

Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

  1. Sync sample test repo: https://github.com/zzorba/keyboard-registry-bug
  2. yarn install && cd ios && pod install && cd../ && yarn ios
  3. App crashes at startup.

Expected behavior

The KeyboardRegistry is usable.

Actual behavior

Crash due to missing NativeModules?

More Info

Running latest react-native and building with XCode 15.3 on IOS, though it happens as well on android.

Environment

  • React Native version: 0.74.1
  • React Native UI Lib version: 7.22.0

Affected platforms

  • Android
  • iOS
  • Web
@zzorba zzorba added the bug a bug in one of the components label May 22, 2024
@zzorba
Copy link
Author

zzorba commented May 22, 2024

It seems like this has happened in the past (#2204), but given it is still happening I figured it was worth opening a new issue with a minimal repo.

@cashelng
Copy link

cashelng commented Jun 1, 2024

@zzorba do you have any solutions yet?

@zzorba
Copy link
Author

zzorba commented Jun 1, 2024

I do not unfortunately. I've shifted to work on other things in the meantime. There don't seem to be any replacement libraries for it at this time

@Mutai-Gilbert
Copy link

I fixed the issue by reverting back to "~7.16.0" from 7.23.5 , I'm using "react-native": "~0.69.12". You have to delete the node_modules and also package-lock.json

@kiet-ap
Copy link

kiet-ap commented Jun 21, 2024

any solutions yet? 😿

@zzorba
Copy link
Author

zzorba commented Jun 21, 2024

Ive started exploring the tentap editor from 10play which has support for custom keyboards, as a possible alternative.

@ericpoulinnz
Copy link

Not supporting RN 0.74 is stopping us from using this library.

@ethanshar is there any plans on looking into this issue? I note it's one of the top reacted issues in a very short time, so it must be a higher priority?

@markmcdowell
Copy link

7.20.3 is fine with RN 0.74, had to downgrade and it's working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components
Projects
None yet
Development

No branches or pull requests

6 participants