Emitted event from Android is not received on the JS side #46306
Labels
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Platform: Android
Android applications.
Resolution: PR Submitted
A pull request with a fix has been provided.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
I migrated my library to the new architecture and this issue occurs only when the
bridgeless
mode is enabled for the sample app. When I launch my app from tapping on a notification from the killed state, an event is fired immediately from the android side but it is never received on the listener inApp.js
. This works perfectly fine on the old architecture.Also for new architecture with the bridgeless mode disabled, the event is emitted before the listener is attached. This was confirmed by adding a delay.
What has changed with respect to
Steps to reproduce
React Native Version
0.74.5
Affected Platforms
Runtime - Android
Areas
TurboModule - The New Native Module System, Bridgeless - The New Initialization Flow
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/CleverTap/clevertap-react-native/tree/task/SDK-3736/Research-and-Document-RN-new-architecture-changes/Example
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: