{"action":"opened","issue":{"url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/606","repository_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase","labels_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/606/comments","events_url":"https://api.github.com/repos/j3k0/cordova-plugin-purchase/issues/606/events","html_url":"https://github.com/j3k0/cordova-plugin-purchase/issues/606","id":238047335,"number":606,"title":"Question: handling offline states","user":{"login":"armandn","id":15320153,"avatar_url":"https://avatars0.githubusercontent.com/u/15320153?v=3","gravatar_id":"","url":"https://api.github.com/users/armandn","html_url":"https://github.com/armandn","followers_url":"https://api.github.com/users/armandn/followers","following_url":"https://api.github.com/users/armandn/following{/other_user}","gists_url":"https://api.github.com/users/armandn/gists{/gist_id}","starred_url":"https://api.github.com/users/armandn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armandn/subscriptions","organizations_url":"https://api.github.com/users/armandn/orgs","repos_url":"https://api.github.com/users/armandn/repos","events_url":"https://api.github.com/users/armandn/events{/privacy}","received_events_url":"https://api.github.com/users/armandn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T05:49:52Z","updated_at":"2017-06-23T05:49:52Z","closed_at":null,"body":"Suppose the user has purchased an Unlock product. What's the best way for a Cordova app to keep this state?\r\n\r\nObviously, keeping a simple \"unlocked=true\" value in the LocalStorage is the easiest, but also easy enough to hack.\r\n\r\nShould the app do a store.refresh() on every run?\r\n\r\nAny other strategies?\r\n\r\n"}}
{"actor":{"display_login":"armandn"}}