{"action":"closed","issue":{"url":"https://api.github.com/repos/SiftScience/sift-android/issues/10","repository_url":"https://api.github.com/repos/SiftScience/sift-android","labels_url":"https://api.github.com/repos/SiftScience/sift-android/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SiftScience/sift-android/issues/10/comments","events_url":"https://api.github.com/repos/SiftScience/sift-android/issues/10/events","html_url":"https://github.com/SiftScience/sift-android/issues/10","id":251746802,"number":10,"title":"Sift.get() returns null if the app UI hasn't been launched yet","user":{"login":"edenman","id":1063557,"avatar_url":"https://avatars2.githubusercontent.com/u/1063557?v=4","gravatar_id":"","url":"https://api.github.com/users/edenman","html_url":"https://github.com/edenman","followers_url":"https://api.github.com/users/edenman/followers","following_url":"https://api.github.com/users/edenman/following{/other_user}","gists_url":"https://api.github.com/users/edenman/gists{/gist_id}","starred_url":"https://api.github.com/users/edenman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenman/subscriptions","organizations_url":"https://api.github.com/users/edenman/orgs","repos_url":"https://api.github.com/users/edenman/repos","events_url":"https://api.github.com/users/edenman/events{/privacy}","received_events_url":"https://api.github.com/users/edenman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"garylee1","id":4721346,"avatar_url":"https://avatars3.githubusercontent.com/u/4721346?v=4","gravatar_id":"","url":"https://api.github.com/users/garylee1","html_url":"https://github.com/garylee1","followers_url":"https://api.github.com/users/garylee1/followers","following_url":"https://api.github.com/users/garylee1/following{/other_user}","gists_url":"https://api.github.com/users/garylee1/gists{/gist_id}","starred_url":"https://api.github.com/users/garylee1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garylee1/subscriptions","organizations_url":"https://api.github.com/users/garylee1/orgs","repos_url":"https://api.github.com/users/garylee1/repos","events_url":"https://api.github.com/users/garylee1/events{/privacy}","received_events_url":"https://api.github.com/users/garylee1/received_events","type":"User","site_admin":false},"assignees":[{"login":"garylee1","id":4721346,"avatar_url":"https://avatars3.githubusercontent.com/u/4721346?v=4","gravatar_id":"","url":"https://api.github.com/users/garylee1","html_url":"https://github.com/garylee1","followers_url":"https://api.github.com/users/garylee1/followers","following_url":"https://api.github.com/users/garylee1/following{/other_user}","gists_url":"https://api.github.com/users/garylee1/gists{/gist_id}","starred_url":"https://api.github.com/users/garylee1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garylee1/subscriptions","organizations_url":"https://api.github.com/users/garylee1/orgs","repos_url":"https://api.github.com/users/garylee1/repos","events_url":"https://api.github.com/users/garylee1/events{/privacy}","received_events_url":"https://api.github.com/users/garylee1/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-08-21T19:21:01Z","updated_at":"2017-10-27T00:08:09Z","closed_at":"2017-10-27T00:08:09Z","author_association":"NONE","body":"My app has a boot listener so that we can fetch the state of the world from our server and stop/re-start Geofences as needed.  Because of the way the documentation says to initialize Sift, none of my Activity listener stuff has fired yet, because there's no UI yet.  But my `User` listener fires, and that means I call `Sift.get().userId = foo`.  Unfortunately this means the app crashes because `Sift.get()` is null.\r\n\r\nWhat should I do here?  With the way you guys have structured things, it's pretty clear that the Sift lifecycle is supposed to mirror the Activity lifecycle, but that means out-of-band things like this have nowhere to go."}}
{"actor":{"display_login":"garylee1"}}