Events not firing on RN 0.39
See original GitHub issueHey,
I’m using react-native 0.39
and no events are firing on IOS (onReady
, onChangeState
,…)
I didn’t see any issues on it, am I the only one?
I fixed it by using sendAppEventWithName
instead of sendInputEventWithName
to dispatch events from React Native to JS. Btw it seems that sendInputEventWithName
is deprecated.
It might be the same issue as #108?
If anyone is having the same issue, I will do a PR 😉
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:9 (5 by maintainers)
Top Results From Across the Web
RN 0.39 onEnd and onPress does not get trigger #413 - GitHub
Hi, I'm on RN 0.39 and these two event does not get trigger on IOS ... events are not fired on the iOS...
Read more >The Effect of Work Hours on Adverse Events and Errors ... - NCBI
We studied the relationship between registered nurses' extended work duration with adverse events and errors, including needlestick injuries ...
Read more >Section L HW with Answers.pdf - Section L: Homework 1) Let...
Section L: Homework1)Let A and B be events with P(A) = 0.43, P(B) = 0.39 and P(A and B) ... b) What is...
Read more >Tutorial about Hazard Ratios - Students 4 Best Evidence
In contrast, hazard ratio takes account not only of the total number of events, but also of the timing of each event. References...
Read more >How to touch and hold to select text in React Native
RN 0.39 adds support to copy the entire text field, but does not yet include support for selecting a subset of the text...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@iDams @max-mykhailenko I made an integration branch that works great for my project! 🎉 I will try to make a clean PR for you now.
@jonwu You also need to change the way you listen to events in
YouTube.ios.js
. You have to useNativeAppEventEmitter.addListener()
nowYou can check the changes I made on my fork: https://github.com/iDams/react-native-youtube/commit/3eb3344bd48379b67266dcfc759aeb034010d20f#diff-20f3ec9d61e7a9aa3d583adf9e66d4ffR62
Here is the doc related: https://facebook.github.io/react-native/docs/native-modules-ios.html#sending-events-to-javascript