{"action":"created","issue":{"url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/4","labels_url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/4/comments","events_url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/4/events","html_url":"https://github.com/one-signal/OneSignal-Cordova-SDK/issues/4","id":97340294,"number":4,"title":"Callbacks feature request","user":{"login":"jaapjanfrans","id":226806,"avatar_url":"https://avatars.githubusercontent.com/u/226806?v=3","gravatar_id":"","url":"https://api.github.com/users/jaapjanfrans","html_url":"https://github.com/jaapjanfrans","followers_url":"https://api.github.com/users/jaapjanfrans/followers","following_url":"https://api.github.com/users/jaapjanfrans/following{/other_user}","gists_url":"https://api.github.com/users/jaapjanfrans/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapjanfrans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapjanfrans/subscriptions","organizations_url":"https://api.github.com/users/jaapjanfrans/orgs","repos_url":"https://api.github.com/users/jaapjanfrans/repos","events_url":"https://api.github.com/users/jaapjanfrans/events{/privacy}","received_events_url":"https://api.github.com/users/jaapjanfrans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-26T18:38:56Z","updated_at":"2015-07-28T21:56:40Z","closed_at":null,"body":"Hi!\r\n\r\nIt would be great if functions like sendTag, sendTags, setSubscription, etc would enable the use of success and error callbacks. This would help to determine if these operations succeed or fail, to be able to act correctly on any errors.\r\n\r\nI'm guessing this is not specific to the Cordova SDK as other SDK's also don't seem to provide callbacks for these kind of operations.\r\n\r\nkind regards,\r\nJaap-Jan\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/comments/125765003","html_url":"https://github.com/one-signal/OneSignal-Cordova-SDK/issues/4#issuecomment-125765003","issue_url":"https://api.github.com/repos/one-signal/OneSignal-Cordova-SDK/issues/4","id":125765003,"user":{"login":"jkasten2","id":645861,"avatar_url":"https://avatars.githubusercontent.com/u/645861?v=3","gravatar_id":"","url":"https://api.github.com/users/jkasten2","html_url":"https://github.com/jkasten2","followers_url":"https://api.github.com/users/jkasten2/followers","following_url":"https://api.github.com/users/jkasten2/following{/other_user}","gists_url":"https://api.github.com/users/jkasten2/gists{/gist_id}","starred_url":"https://api.github.com/users/jkasten2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkasten2/subscriptions","organizations_url":"https://api.github.com/users/jkasten2/orgs","repos_url":"https://api.github.com/users/jkasten2/repos","events_url":"https://api.github.com/users/jkasten2/events{/privacy}","received_events_url":"https://api.github.com/users/jkasten2/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T21:56:40Z","updated_at":"2015-07-28T21:56:40Z","body":"Hello,\r\n\r\nThanks for your suggestion, we plan on adding smart retrying to solve most issues with user records not getting updated due to device connection issues. If we handle this internally would you still need callback for feedback in your app's use cases?\r\n\r\nThanks."}}