Skip to content

DeviceEventEmitter is converted nothing #841

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

Closed
Xing-He opened this issue Feb 28, 2018 · 2 comments
Closed

DeviceEventEmitter is converted nothing #841

Xing-He opened this issue Feb 28, 2018 · 2 comments

Comments

@Xing-He
Copy link

Xing-He commented Feb 28, 2018

DeviceEventEmitter is undefined

TypeError: Cannot read property 'addListener' of undefined
  • OS: Mac OS
  • Browser: Chrome
  • React Native for Web (version): 0.5.1
  • React (version): 16.2.0
@necolas
Copy link
Owner

necolas commented Feb 28, 2018

Not supported on web

@hushicai
Copy link
Contributor

I use different emitter on different platform:

rn: react-native/Libraries/vendor/emitter/EventEmitter
web: eventemitter3

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

No branches or pull requests

3 participants