{"action":"created","issue":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/127","repository_url":"https://api.github.com/repos/lwansbrough/react-native-camera","labels_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/127/comments","events_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/127/events","html_url":"https://github.com/lwansbrough/react-native-camera/issues/127","id":118473205,"number":127,"title":"Why is the memory option of the captureTarget prop deprecated? ","user":{"login":"gorkemyurt","id":1714827,"avatar_url":"https://avatars.githubusercontent.com/u/1714827?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkemyurt","html_url":"https://github.com/gorkemyurt","followers_url":"https://api.github.com/users/gorkemyurt/followers","following_url":"https://api.github.com/users/gorkemyurt/following{/other_user}","gists_url":"https://api.github.com/users/gorkemyurt/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkemyurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkemyurt/subscriptions","organizations_url":"https://api.github.com/users/gorkemyurt/orgs","repos_url":"https://api.github.com/users/gorkemyurt/repos","events_url":"https://api.github.com/users/gorkemyurt/events{/privacy}","received_events_url":"https://api.github.com/users/gorkemyurt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T21:13:15Z","updated_at":"2016-05-18T16:03:11Z","closed_at":null,"body":"Looks like the Camera.constants.CaptureTarget.memory property is deprecated, was there a reason for this? I am guessing sending the encoding data to the JS side was too expensive? \r\n\r\nDoes that mean the default value should be the assets library url not the base 64 encoded string? \r\n\r\nThat would make the information following the depreciation info outdated..\r\n\"This property allows you to specify the target output of the captured image data. By default the image binary is sent back as a base 64 encoded string.\" \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/comments/220074893","html_url":"https://github.com/lwansbrough/react-native-camera/issues/127#issuecomment-220074893","issue_url":"https://api.github.com/repos/lwansbrough/react-native-camera/issues/127","id":220074893,"user":{"login":"rt2zz","id":2302315,"avatar_url":"https://avatars.githubusercontent.com/u/2302315?v=3","gravatar_id":"","url":"https://api.github.com/users/rt2zz","html_url":"https://github.com/rt2zz","followers_url":"https://api.github.com/users/rt2zz/followers","following_url":"https://api.github.com/users/rt2zz/following{/other_user}","gists_url":"https://api.github.com/users/rt2zz/gists{/gist_id}","starred_url":"https://api.github.com/users/rt2zz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rt2zz/subscriptions","organizations_url":"https://api.github.com/users/rt2zz/orgs","repos_url":"https://api.github.com/users/rt2zz/repos","events_url":"https://api.github.com/users/rt2zz/events{/privacy}","received_events_url":"https://api.github.com/users/rt2zz/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T16:03:11Z","updated_at":"2016-05-18T16:03:11Z","body":"I think there is enough community interest that we will likely un-deprecate the base64 option, although it will likely be renamed in the near future.  \r\n\r\n@blargism please do due diligence on the code base. Based on what you mentioned above I think either `target=\"temp\"` or `target=\"memory\"` will work for you. Temp stores it in the temp files directory which to my knowledge is inside of the app's sandbox. Memory will generate a base64 sring and not save anything to disk."}}