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

missing require('RCTDeviceEventEmitter'); #623

Closed
wants to merge 1 commit into from

Conversation

lvyile
Copy link
Contributor

@lvyile lvyile commented Apr 2, 2015

No description provided.

@@ -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');
Copy link
Contributor

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');

Copy link
Contributor Author

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]

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 7, 2015
@brentvatne brentvatne closed this May 27, 2015
@brentvatne
Copy link
Collaborator

Fixed in 731335e

@lvyile lvyile deleted the patch-3 branch May 28, 2015 08:34
jfrolich added a commit to jfrolich/react-native that referenced this pull request Apr 22, 2020
ayushjainrksh referenced this pull request in MLH-Fellowship/react-native Jul 2, 2020
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants