{"action":"created","issue":{"url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/962","repository_url":"https://api.github.com/repos/react-community/react-native-image-picker","labels_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/962/labels{/name}","comments_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/962/comments","events_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/962/events","html_url":"https://github.com/react-community/react-native-image-picker/issues/962","id":373815947,"node_id":"MDU6SXNzdWUzNzM4MTU5NDc=","number":962,"title":"_reactNativeImagePicker2.default.launchImageLibrary is not a function","user":{"login":"wzup","id":3880497,"node_id":"MDQ6VXNlcjM4ODA0OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3880497?v=4","gravatar_id":"","url":"https://api.github.com/users/wzup","html_url":"https://github.com/wzup","followers_url":"https://api.github.com/users/wzup/followers","following_url":"https://api.github.com/users/wzup/following{/other_user}","gists_url":"https://api.github.com/users/wzup/gists{/gist_id}","starred_url":"https://api.github.com/users/wzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzup/subscriptions","organizations_url":"https://api.github.com/users/wzup/orgs","repos_url":"https://api.github.com/users/wzup/repos","events_url":"https://api.github.com/users/wzup/events{/privacy}","received_events_url":"https://api.github.com/users/wzup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T07:48:58Z","updated_at":"2018-10-25T08:44:53Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n\r\nI wanted to barely test the package.\r\nI simply followed steps in your docs.\r\n\r\n```\r\n$ npm i -S react-native-image-picker\r\n$ react-native link react-native-image-picker\r\n```\r\n\r\n```javascript\r\nimport ImagePicker from 'react-native-image-picker';\r\n\r\n_launchImageLib(ev) {\r\n  const options = {\r\n    title: 'Select Avatar',\r\n    customButtons: [{ name: 'fb', title: 'Choose Photo from Facebook' }],\r\n    storageOptions: {\r\n      skipBackup: true,\r\n      path: 'images'\r\n    }\r\n  };\r\n\r\n  ImagePicker.launchImageLibrary(options, response => {\r\n    console.log('[ImagePicker][response]', response);\r\n\r\n    const source = { uri: response.uri };\r\n    this.setState({\r\n        avatarSource: source\r\n    });\r\n  });\r\n}\r\n\r\nrender() {\r\n        <View style={ styles.view }>\r\n          <TouchableHighlight style={ styles.userpic } onPress={ this._launchImageLib }>\r\n            <Icon name=\"photo-camera\" size={ 30 } color={'red'} />\r\n          </TouchableHighlight>\r\n        </View>\r\n}\r\n\r\n```\r\n\r\n\r\n### How to repeat issue and example\r\n\r\nSee my code above. Just copy/paste it in your component.\r\n\r\n### Solution\r\n\r\nWhat needs to be done to address this issue? How to solve it?\r\n\r\n### Additional Information\r\n\r\n```\r\n  System:\r\n    OS: macOS High Sierra 10.13.6\r\n  Binaries:\r\n    Node: 8.11.3 - /usr/local/bin/node\r\n    npm: 5.6.0 - /usr/local/bin/npm\r\n  Browsers:\r\n    Chrome: 69.0.3497.100\r\n    Safari: 11.1.2\r\n\r\n\"react-native\": \"0.54.2\",\r\n\"react-native-image-picker\": \"^0.27.1\",\r\n```"},"comment":{"url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/comments/432966248","html_url":"https://github.com/react-community/react-native-image-picker/issues/962#issuecomment-432966248","issue_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/962","id":432966248,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjk2NjI0OA==","user":{"login":"wzup","id":3880497,"node_id":"MDQ6VXNlcjM4ODA0OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3880497?v=4","gravatar_id":"","url":"https://api.github.com/users/wzup","html_url":"https://github.com/wzup","followers_url":"https://api.github.com/users/wzup/followers","following_url":"https://api.github.com/users/wzup/following{/other_user}","gists_url":"https://api.github.com/users/wzup/gists{/gist_id}","starred_url":"https://api.github.com/users/wzup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzup/subscriptions","organizations_url":"https://api.github.com/users/wzup/orgs","repos_url":"https://api.github.com/users/wzup/repos","events_url":"https://api.github.com/users/wzup/events{/privacy}","received_events_url":"https://api.github.com/users/wzup/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T08:44:53Z","updated_at":"2018-10-25T08:44:53Z","author_association":"NONE","body":"same https://github.com/react-community/react-native-image-picker/issues/957"}}
{"actor":{"display_login":"wzup"}}