{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/140","repository_url":"https://api.github.com/repos/mozilla-mobile/android-components","labels_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/140/comments","events_url":"https://api.github.com/repos/mozilla-mobile/android-components/issues/140/events","html_url":"https://github.com/mozilla-mobile/android-components/issues/140","id":318944115,"number":140,"title":"Prototype session manager/store component","user":{"login":"pocmo","id":89638,"avatar_url":"https://avatars0.githubusercontent.com/u/89638?v=4","gravatar_id":"","url":"https://api.github.com/users/pocmo","html_url":"https://github.com/pocmo","followers_url":"https://api.github.com/users/pocmo/followers","following_url":"https://api.github.com/users/pocmo/following{/other_user}","gists_url":"https://api.github.com/users/pocmo/gists{/gist_id}","starred_url":"https://api.github.com/users/pocmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocmo/subscriptions","organizations_url":"https://api.github.com/users/pocmo/orgs","repos_url":"https://api.github.com/users/pocmo/repos","events_url":"https://api.github.com/users/pocmo/events{/privacy}","received_events_url":"https://api.github.com/users/pocmo/received_events","type":"User","site_admin":false},"labels":[{"id":875005584,"url":"https://api.github.com/repos/mozilla-mobile/android-components/labels/%F0%9F%8C%9F%20feature","name":"🌟 feature","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla-mobile/android-components/milestones/1","html_url":"https://github.com/mozilla-mobile/android-components/milestone/1","labels_url":"https://api.github.com/repos/mozilla-mobile/android-components/milestones/1/labels","id":3278028,"number":1,"title":"Fenix Milestone 1","description":"","creator":{"login":"pocmo","id":89638,"avatar_url":"https://avatars0.githubusercontent.com/u/89638?v=4","gravatar_id":"","url":"https://api.github.com/users/pocmo","html_url":"https://github.com/pocmo","followers_url":"https://api.github.com/users/pocmo/followers","following_url":"https://api.github.com/users/pocmo/following{/other_user}","gists_url":"https://api.github.com/users/pocmo/gists{/gist_id}","starred_url":"https://api.github.com/users/pocmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocmo/subscriptions","organizations_url":"https://api.github.com/users/pocmo/orgs","repos_url":"https://api.github.com/users/pocmo/repos","events_url":"https://api.github.com/users/pocmo/events{/privacy}","received_events_url":"https://api.github.com/users/pocmo/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2018-04-18T13:22:02Z","updated_at":"2018-04-30T16:03:46Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-04-30T16:03:46Z","updated_at":"2018-04-30T16:03:46Z","closed_at":null,"author_association":"COLLABORATOR","body":"Requirements:\r\n* Saves state of sessions (\"session\" + \"engine session\") frequently and when the app goes to background\r\n* Restores sessions the next time the app is launched\r\n* Hides the actual storage implementation (we do not want to make a decision on the actual storage implementation at this point)\r\n* Should not be impacted by crashes (e.g. when the app crashes on the next start we restore a state that is not too old)\r\n\r\nResources:\r\n* Focus saves the \"engine session\" state in the Session object in memory: https://github.com/mozilla-mobile/focus-android/blob/58d5ce0ae3382acf425ff13401488069014bdde3/app/src/main/java/org/mozilla/focus/session/Session.java#L33\r\n* Fennec's session store: https://dxr.mozilla.org/mozilla-central/source/mobile/android/components/SessionStore.js"}}
{"actor":{"display_login":"pocmo"}}