NativeEventEmitter behaviour in new architecture #74
Replies: 1 comment
-
facebook/react-native#34353 (comment) I'm also investigating these changes in the Java/CPP API which essentially add the surfaceId to the event. Is a Fabric optimisation, but does not work with onAccessibililtyAction callback on Fabric I'm reading this documentation now https://github.com/fabriziobertoglio1987/react-native/blob/b80bcb3104c903f97974d90db3827b997af9c7cc/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java#L60, but seems to apply to the old architecture I quote mrousavy
facebook/react-native@114be1d |
Beta Was this translation helpful? Give feedback.
-
Is something changed with NativeEventEmitter on android? Noticed that we pass
null
on android here.Also, do these methods trigger on android? NetInfo uses them to set and reset some flags. These flags are used for optimisation while triggering event call from native. Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions