question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Events not firing on RN 0.39

See original GitHub issue

Hey,

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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
wcandilloncommented, Feb 10, 2017

@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.

2reactions
amsdamsgramcommented, Feb 8, 2017

@jonwu You also need to change the way you listen to events in YouTube.ios.js. You have to use NativeAppEventEmitter.addListener() now

You 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found