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

fix(android, event-emitter): add required event listener stubs for react-native 0.65 #89

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

mikehardy
Copy link
Collaborator

These are needed to avoid console warnings about NativeEventEmitter being
created without the required native module implementations

Test Plan:

It's impossible for these methods to have bugs because they're just stubs ;-)

I've integrated it locally via patch-package, and it's the same change I've successfully made + released in react-native-firebase and react-native-device-info, as well as patched locally in netinfo (PR there is merged but not released yet).

These are needed to avoid console warnings about NativeEventEmitter being
created without the required native module implementations
@mikehardy mikehardy merged commit ca801b2 into master Sep 7, 2021
@mikehardy mikehardy deleted the rn65-compat branch September 7, 2021 19:11
@github-actions
Copy link

github-actions bot commented Sep 7, 2021

🎉 This PR is included in version 4.3.1 🎉

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.

1 participant