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
Emiting Events from Android in New Arch + Bridgeless + interop layer #44255
Comments
|
Relevant PR also doublesymmetry/react-native-track-player#2290 |
I can confirm by opting out of bridgeless with RNTP also has a notification no longer working issue as mentioned in the PR mentioned above; this is very puzzling to me because the notification manager component should be purely native. This issue is also "fixed" by opting out of the bridgeless mode. |
Thanks for the confirmation. I believe this has to do with Headless mode not going through the bridgeless initialization mode. We'll look into it and get back to you. |
Thank you @cortinico for looking into this. I am having same issue as well. |
Description
hi! I was directed from reactwg/react-native-new-architecture#8 (reply in thread) to open an issue. I'm looking at RNTP's interop layer compatibility, and there is an issue where the module's hooks using event listeners (with a NOBRIDGE log tag?) are not firing, but listeners registered via AppRegistry.registerHeadlessTask (without the NOBRIDGE log tag?) are. Would anyone share insight on emitting events? Thank you very much in advance
RNTP hooks registering event listeners: here and here
registerHeadlessTask:
logs
Steps to reproduce
React Native Version
0.74
Affected Platforms
Runtime - Android
Areas
Bridgeless - The New Initialization Flow
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/lovegaoshi/RNTPExampleNewArch
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: