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

Warning messages on import #103

Closed
tristanbsn opened this issue Oct 14, 2021 · 3 comments
Closed

Warning messages on import #103

tristanbsn opened this issue Oct 14, 2021 · 3 comments
Labels

Comments

@tristanbsn
Copy link

tristanbsn commented Oct 14, 2021

When importing with import BackgroundService from 'react-native-background-actions'; , metro shows the following warnings :

new NativeEventEmitter() was called with a non-null argument without the required addListener method.

new NativeEventEmitter() was called with a non-null argument without the required removeListeners method.

I use react-native v0.66.0 and react-native-background-actions v2.6.4

@tristanbsn tristanbsn changed the title Warning message on import Warning messages on import Oct 14, 2021
@Rapsssito
Copy link
Owner

@tristanbsn, thanks for the feedback, I will start working on it as soon as possible. It looks like the fix might be a long the lines of mikehardy/react-native-reanimated@cdb004f.

github-actions bot pushed a commit that referenced this issue Oct 15, 2021
## [2.6.5](v2.6.4...v2.6.5) (2021-10-15)

### Bug Fixes

* **Android:** Add RN 0.65 event emitter stubs ([83d4621](83d4621)), closes [#103](#103)
@github-actions
Copy link

🎉 This issue has been resolved in version 2.6.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tristanbsn
Copy link
Author

It works, thank you.

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

No branches or pull requests

2 participants