{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/analytics-android/issues/463","repository_url":"https://api.github.com/repos/segmentio/analytics-android","labels_url":"https://api.github.com/repos/segmentio/analytics-android/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/analytics-android/issues/463/comments","events_url":"https://api.github.com/repos/segmentio/analytics-android/issues/463/events","html_url":"https://github.com/segmentio/analytics-android/issues/463","id":167877219,"number":463,"title":"There should be a way to know if flush() failed","user":{"login":"bryant1410","id":3905501,"avatar_url":"https://avatars.githubusercontent.com/u/3905501?v=3","gravatar_id":"","url":"https://api.github.com/users/bryant1410","html_url":"https://github.com/bryant1410","followers_url":"https://api.github.com/users/bryant1410/followers","following_url":"https://api.github.com/users/bryant1410/following{/other_user}","gists_url":"https://api.github.com/users/bryant1410/gists{/gist_id}","starred_url":"https://api.github.com/users/bryant1410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryant1410/subscriptions","organizations_url":"https://api.github.com/users/bryant1410/orgs","repos_url":"https://api.github.com/users/bryant1410/repos","events_url":"https://api.github.com/users/bryant1410/events{/privacy}","received_events_url":"https://api.github.com/users/bryant1410/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-27T15:03:34Z","updated_at":"2016-07-27T19:08:27Z","closed_at":"2016-07-27T18:20:12Z","body":"There's the `flush()` operation to trigger the action of uploading pending events tracked. Isn't there a way to know if it didn't succeed? It will be nice to have it. I understand this is not a pretty common use case."},"comment":{"url":"https://api.github.com/repos/segmentio/analytics-android/issues/comments/235688208","html_url":"https://github.com/segmentio/analytics-android/issues/463#issuecomment-235688208","issue_url":"https://api.github.com/repos/segmentio/analytics-android/issues/463","id":235688208,"user":{"login":"f2prateek","id":843979,"avatar_url":"https://avatars.githubusercontent.com/u/843979?v=3","gravatar_id":"","url":"https://api.github.com/users/f2prateek","html_url":"https://github.com/f2prateek","followers_url":"https://api.github.com/users/f2prateek/followers","following_url":"https://api.github.com/users/f2prateek/following{/other_user}","gists_url":"https://api.github.com/users/f2prateek/gists{/gist_id}","starred_url":"https://api.github.com/users/f2prateek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f2prateek/subscriptions","organizations_url":"https://api.github.com/users/f2prateek/orgs","repos_url":"https://api.github.com/users/f2prateek/repos","events_url":"https://api.github.com/users/f2prateek/events{/privacy}","received_events_url":"https://api.github.com/users/f2prateek/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T19:08:27Z","updated_at":"2016-07-27T19:08:27Z","body":"Actually one more thing, even though the device might upload the event to our servers, sending from our servers to integrations (e.g. intercom) is still async, so there might still be a delay between after the devices *completes* the http request before the event is sent, so you can never get a 100% guarantee when an event will be delivered to Intercom."}}
{"actor":{"display_login":"f2prateek"}}