{"action":"opened","issue":{"url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/593","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/593/labels{/name}","comments_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/593/comments","events_url":"https://api.github.com/repos/react-community/react-native-image-picker/issues/593/events","html_url":"https://github.com/react-community/react-native-image-picker/issues/593","id":231156829,"number":593,"title":"Image picker dont load the selected image on Android versions under 5.0","user":{"login":"cokealmonacid","id":16389394,"avatar_url":"https://avatars2.githubusercontent.com/u/16389394?v=3","gravatar_id":"","url":"https://api.github.com/users/cokealmonacid","html_url":"https://github.com/cokealmonacid","followers_url":"https://api.github.com/users/cokealmonacid/followers","following_url":"https://api.github.com/users/cokealmonacid/following{/other_user}","gists_url":"https://api.github.com/users/cokealmonacid/gists{/gist_id}","starred_url":"https://api.github.com/users/cokealmonacid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cokealmonacid/subscriptions","organizations_url":"https://api.github.com/users/cokealmonacid/orgs","repos_url":"https://api.github.com/users/cokealmonacid/repos","events_url":"https://api.github.com/users/cokealmonacid/events{/privacy}","received_events_url":"https://api.github.com/users/cokealmonacid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-24T20:10:08Z","updated_at":"2017-05-24T20:10:08Z","closed_at":null,"body":"I use the following code to load a image from the library or take it by the user, then this is loaded on the state that show's the selected image, this works pretty well on devices with android above 5.0 but when try this on android 4.1, 4.2 or even 4.5 dont loaded the selected image\r\nThis is my code: \r\n\r\n```\r\n  selectPhotoTapped() {\r\n    const options = {\r\n      quality: 0.3,\r\n      maxWidth: 500,\r\n      maxHeight: 500,\r\n      takePhotoButtonTitle: \"Tomar foto...\",\r\n      chooseFromLibraryButtonTitle: \"Elegir desde librería...\",\r\n      cancelButtonTitle: \"Cancelar\",\r\n      title: \"Seleccionar una foto\",\r\n      storageOptions: {\r\n        skipBackup: true\r\n      }\r\n    };\r\n\r\n    ImagePicker.showImagePicker(options, (response) => {\r\n\r\n      if (response.didCancel) {\r\n        console.log('User cancelled photo picker');\r\n      }\r\n      else if (response.error) {\r\n        console.log('ImagePicker Error: ', response.error);\r\n      }\r\n      else if (response.customButton) {\r\n        console.log('User tapped custom button: ', response.customButton);\r\n      }\r\n      else {\r\n\r\n        this.setState({ image : 'data:image/jpeg;base64,' + response.data });\r\n      }\r\n    });\r\n  }\r\n```\r\n\r\nThen im trying to show the selected image on the render like this: \r\n\r\n```\r\n   <TouchableOpacity style={SIStyles.containerPhoto} onPress={() => this.selectPhotoTapped()}>\r\n            <Image\r\n            source={{uri: this._imageReturn()}}\r\n            style={SIStyles.image}\r\n            resizeMode={'contain'}\r\n            />\r\n     </TouchableOpacity>\r\n```\r\n\r\nWhat can i do with this? "}}
{"actor":{"display_login":"cokealmonacid"}}