-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
missing require('RCTDeviceEventEmitter'); #623
Conversation
@@ -198,6 +198,7 @@ The native module can signal events to JavaScript without being invoked directly | |||
JavaScript code can subscribe to these events: | |||
|
|||
```javascript | |||
var DeviceEventEmitter = require('RCTDeviceEventEmitter'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DeviceEventEmitter
is part of react-native
exports now
var { DeviceEventEmitter } = require('react-native');
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How to revision via CocoPods ? Please give me a hand.
Yes, I saw the latest version on github is 0.3.4
But I use pod search result is 0.2.1
-> React (0.2.1)
Build high quality mobile apps using React.
pod 'React', '~> 0.2.1'
- Homepage: http://facebook.github.io/react-native/
- Source: https://github.com/facebook/react-native.git
- Versions: 0.2.1, 0.2.0, 0.1.0 [master repo]
Fixed in 731335e |
Re-apply v0.63 merge
No description provided.