Skip to content
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

Remove methods that break event listeners on RN 0.65.1 #493

Merged
merged 1 commit into from Sep 3, 2021

Conversation

xHeinrich
Copy link
Contributor

Fixes #492

@matt-oakes
Copy link
Collaborator

@xHeinrich @mikehardy Am I correct in thinking that this will cause the warning to re-appear, but will fix the issues in the linked issue?

@mikehardy
Copy link
Contributor

I think having the stubs for android silence the warning, while on ios they are not needed. That's un intuitive but seems to match the reported behavior

@mikehardy
Copy link
Contributor

I'm leaning towards merge+release as there is definite reported breakage with the listeners and worst case they will only cause a warning if missing, while further triage happens. I'll do the same (merge + release) in the absence of dissent, in the next couple hours

@mikehardy mikehardy added the pending merge A PR that will be merged shortly, waiting for CI or final comment label Sep 3, 2021
mikehardy referenced this pull request in react-native-device-info/react-native-device-info Sep 3, 2021
@mikehardy mikehardy merged commit a52b0a5 into react-native-netinfo:master Sep 3, 2021
@mikehardy mikehardy removed the pending merge A PR that will be merged shortly, waiting for CI or final comment label Sep 3, 2021
github-actions bot pushed a commit that referenced this pull request Sep 3, 2021
## [6.0.2](v6.0.1...v6.0.2) (2021-09-03)

### Bug Fixes

* **ios:** remove iOS listener stubs added for RN0.65 compat, they caused a regression ([#493](#493)) ([a52b0a5](a52b0a5))
@matt-oakes
Copy link
Collaborator

🎉 This PR is included in version 6.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event addEventListener not triggered in iOS on lost internet connection
3 participants