{"action":"created","issue":{"url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/4","labels_url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/4/comments","events_url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/4/events","html_url":"https://github.com/lazywei/react-native-device-uuid/issues/4","id":94518338,"number":4,"title":"NativeModules does not resolve - [React Native v.0.5.0]","user":{"login":"irfaan","id":1435018,"avatar_url":"https://avatars.githubusercontent.com/u/1435018?v=3","gravatar_id":"","url":"https://api.github.com/users/irfaan","html_url":"https://github.com/irfaan","followers_url":"https://api.github.com/users/irfaan/followers","following_url":"https://api.github.com/users/irfaan/following{/other_user}","gists_url":"https://api.github.com/users/irfaan/gists{/gist_id}","starred_url":"https://api.github.com/users/irfaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irfaan/subscriptions","organizations_url":"https://api.github.com/users/irfaan/orgs","repos_url":"https://api.github.com/users/irfaan/repos","events_url":"https://api.github.com/users/irfaan/events{/privacy}","received_events_url":"https://api.github.com/users/irfaan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-12T00:04:45Z","updated_at":"2015-07-13T05:07:12Z","closed_at":"2015-07-13T05:07:11Z","body":"Receiving Invariant Violation that prevents application from loading:\r\n```\r\nUnable to resolve module NativeModules from /Users/.../node_modules/react-native-device-uuid/DeviceUUID.ios.js\r\n```\r\n\r\nReact Native v. 0.7.1\r\n\r\n**Edit**\r\nDoes it have something to do with requiring react-native instead of referencing private modules? Something like this perhaps (adapted from https://github.com/johanneslumpe/react-native-keyboardevents/commit/5e571914903c83c7faf1316c26fa6f94f50d7a19)?:\r\n```\r\nvar {\r\n  invariant,\r\n  NativeModules: {\r\n    DeviceUUID,\r\n  },\r\n} = require('react-native');\r\n```"},"comment":{"url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/comments/120813797","html_url":"https://github.com/lazywei/react-native-device-uuid/issues/4#issuecomment-120813797","issue_url":"https://api.github.com/repos/lazywei/react-native-device-uuid/issues/4","id":120813797,"user":{"login":"irfaan","id":1435018,"avatar_url":"https://avatars.githubusercontent.com/u/1435018?v=3","gravatar_id":"","url":"https://api.github.com/users/irfaan","html_url":"https://github.com/irfaan","followers_url":"https://api.github.com/users/irfaan/followers","following_url":"https://api.github.com/users/irfaan/following{/other_user}","gists_url":"https://api.github.com/users/irfaan/gists{/gist_id}","starred_url":"https://api.github.com/users/irfaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irfaan/subscriptions","organizations_url":"https://api.github.com/users/irfaan/orgs","repos_url":"https://api.github.com/users/irfaan/repos","events_url":"https://api.github.com/users/irfaan/events{/privacy}","received_events_url":"https://api.github.com/users/irfaan/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T05:07:11Z","updated_at":"2015-07-13T05:07:11Z","body":"Appears like this was unrelated to uuid. Closing for now, but may revisit if it turns out otherwise! Thanks!"}}