{"action":"opened","issue":{"url":"https://api.github.com/repos/guodong000/react-native-eximage/issues/2","labels_url":"https://api.github.com/repos/guodong000/react-native-eximage/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/guodong000/react-native-eximage/issues/2/comments","events_url":"https://api.github.com/repos/guodong000/react-native-eximage/issues/2/events","html_url":"https://github.com/guodong000/react-native-eximage/issues/2","id":106346510,"number":2,"title":"Runtime exception: `customDirectEventTypes must return an array`","user":{"login":"upbit","id":302680,"avatar_url":"https://avatars.githubusercontent.com/u/302680?v=3","gravatar_id":"","url":"https://api.github.com/users/upbit","html_url":"https://github.com/upbit","followers_url":"https://api.github.com/users/upbit/followers","following_url":"https://api.github.com/users/upbit/following{/other_user}","gists_url":"https://api.github.com/users/upbit/gists{/gist_id}","starred_url":"https://api.github.com/users/upbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upbit/subscriptions","organizations_url":"https://api.github.com/users/upbit/orgs","repos_url":"https://api.github.com/users/upbit/repos","events_url":"https://api.github.com/users/upbit/events{/privacy}","received_events_url":"https://api.github.com/users/upbit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T13:58:06Z","updated_at":"2015-09-14T13:58:06Z","closed_at":null,"body":"After upgrading to 0.11.0-rc, getting this runtime exception:\r\n\r\n> *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'customDirectEventTypes must return an array, but RCTExNetworkImageManager returned __NSDictionaryI'\r\n\r\nNow [customDirectEventTypes return NSArray](https://github.com/facebook/react-native/blob/v0.11.0-rc/React/Views/RCTViewManager.m#L93-L100), so needed update `- (NSDictionary *)customDirectEventTypes` to this:\r\n\r\n~~~objective-c\r\n// RCTExNetworkImageManager.m\r\n- (NSArray *)customDirectEventTypes {\r\n    return @[\r\n             @\"exLoadStart\",\r\n             @\"exLoadProgress\",\r\n             @\"exLoadError\",\r\n             @\"exLoaded\"\r\n             ];\r\n}\r\n~~~"}}