{"action":"closed","issue":{"url":"https://api.github.com/repos/joeferraro/react-native-cookies/issues/9","repository_url":"https://api.github.com/repos/joeferraro/react-native-cookies","labels_url":"https://api.github.com/repos/joeferraro/react-native-cookies/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/joeferraro/react-native-cookies/issues/9/comments","events_url":"https://api.github.com/repos/joeferraro/react-native-cookies/issues/9/events","html_url":"https://github.com/joeferraro/react-native-cookies/issues/9","id":113363111,"number":9,"title":"Using promise instead of callback","user":{"login":"shahankit","id":4739743,"avatar_url":"https://avatars.githubusercontent.com/u/4739743?v=3","gravatar_id":"","url":"https://api.github.com/users/shahankit","html_url":"https://github.com/shahankit","followers_url":"https://api.github.com/users/shahankit/followers","following_url":"https://api.github.com/users/shahankit/following{/other_user}","gists_url":"https://api.github.com/users/shahankit/gists{/gist_id}","starred_url":"https://api.github.com/users/shahankit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahankit/subscriptions","organizations_url":"https://api.github.com/users/shahankit/orgs","repos_url":"https://api.github.com/users/shahankit/repos","events_url":"https://api.github.com/users/shahankit/events{/privacy}","received_events_url":"https://api.github.com/users/shahankit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T14:10:51Z","updated_at":"2016-02-11T08:55:54Z","closed_at":"2016-02-11T08:55:54Z","body":"Is it possible to return a promise from all function instead of callback functions. I'm a little new to javascript and use es7 to code with react-native. I would really like to know how to send promise object from native code or is it not possible."}}