{"action":"created","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/112","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/112/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/112/events","html_url":"https://github.com/OneSignal/OneSignal-Website-SDK/issues/112","id":172193885,"number":112,"title":"Database.get related methods do not wait for OneSignal initialization","user":{"login":"jasonpang","id":1015970,"avatar_url":"https://avatars.githubusercontent.com/u/1015970?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpang","html_url":"https://github.com/jasonpang","followers_url":"https://api.github.com/users/jasonpang/followers","following_url":"https://api.github.com/users/jasonpang/following{/other_user}","gists_url":"https://api.github.com/users/jasonpang/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpang/subscriptions","organizations_url":"https://api.github.com/users/jasonpang/orgs","repos_url":"https://api.github.com/users/jasonpang/repos","events_url":"https://api.github.com/users/jasonpang/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/milestones/2","html_url":"https://github.com/OneSignal/OneSignal-Website-SDK/milestones/October%202016%20Web%20Push%20Fixes","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/milestones/2/labels","id":2005505,"number":2,"title":"October 2016 Web Push Fixes","description":"","creator":{"login":"jasonpang","id":1015970,"avatar_url":"https://avatars.githubusercontent.com/u/1015970?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpang","html_url":"https://github.com/jasonpang","followers_url":"https://api.github.com/users/jasonpang/followers","following_url":"https://api.github.com/users/jasonpang/following{/other_user}","gists_url":"https://api.github.com/users/jasonpang/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpang/subscriptions","organizations_url":"https://api.github.com/users/jasonpang/orgs","repos_url":"https://api.github.com/users/jasonpang/repos","events_url":"https://api.github.com/users/jasonpang/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpang/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":10,"state":"open","created_at":"2016-09-15T00:26:51Z","updated_at":"2016-10-11T07:36:57Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-08-19T18:39:18Z","updated_at":"2016-10-11T07:45:01Z","closed_at":null,"body":"Methods like `Database.get()` and `Database.put()` assume `OneSignal.iframePostmam` is ready to use for cross-frame communication. This is not the case if the SDK is uninitialized, still initializing, or if configuration errors prevent cross-frame communication.\r\n\r\ne.g. https://github.com/OneSignal/OneSignal-Website-SDK/blob/master/src/OneSignal.js#L521"},"comment":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/comments/252837154","html_url":"https://github.com/OneSignal/OneSignal-Website-SDK/issues/112#issuecomment-252837154","issue_url":"https://api.github.com/repos/OneSignal/OneSignal-Website-SDK/issues/112","id":252837154,"user":{"login":"jasonpang","id":1015970,"avatar_url":"https://avatars.githubusercontent.com/u/1015970?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonpang","html_url":"https://github.com/jasonpang","followers_url":"https://api.github.com/users/jasonpang/followers","following_url":"https://api.github.com/users/jasonpang/following{/other_user}","gists_url":"https://api.github.com/users/jasonpang/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonpang/subscriptions","organizations_url":"https://api.github.com/users/jasonpang/orgs","repos_url":"https://api.github.com/users/jasonpang/repos","events_url":"https://api.github.com/users/jasonpang/events{/privacy}","received_events_url":"https://api.github.com/users/jasonpang/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T07:45:01Z","updated_at":"2016-10-11T07:45:01Z","body":"Fixed by https://github.com/OneSignal/OneSignal-Website-SDK/commit/41840c8e8339743d75c2a2b9627bb99d5542e176"}}
{"actor":{"display_login":"jasonpang"}}