{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/gdx-pay/issues/49","labels_url":"https://api.github.com/repos/libgdx/gdx-pay/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/gdx-pay/issues/49/comments","events_url":"https://api.github.com/repos/libgdx/gdx-pay/issues/49/events","html_url":"https://github.com/libgdx/gdx-pay/issues/49","id":98809348,"number":49,"title":"Query inventory without internet connection","user":{"login":"Berobasket","id":13629518,"avatar_url":"https://avatars.githubusercontent.com/u/13629518?v=3","gravatar_id":"","url":"https://api.github.com/users/Berobasket","html_url":"https://github.com/Berobasket","followers_url":"https://api.github.com/users/Berobasket/followers","following_url":"https://api.github.com/users/Berobasket/following{/other_user}","gists_url":"https://api.github.com/users/Berobasket/gists{/gist_id}","starred_url":"https://api.github.com/users/Berobasket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berobasket/subscriptions","organizations_url":"https://api.github.com/users/Berobasket/orgs","repos_url":"https://api.github.com/users/Berobasket/repos","events_url":"https://api.github.com/users/Berobasket/events{/privacy}","received_events_url":"https://api.github.com/users/Berobasket/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-03T18:19:23Z","updated_at":"2015-08-04T22:29:01Z","closed_at":null,"body":"It's not possible to offline query inventory (without sku details). querySkuDetails variable (line 249 in file  gdx-pay/gdx-pay-android-openiab/src/com/badlogic/gdx/pay/android/openiab/PurchaseManagerAndroidOpenIAB.java ) is always set up to true. According to this comment http://stackoverflow.com/questions/14231859/how-to-best-save-inapp-purchase-status-locally#comment41999027_15569448 it could be fixed by changing querySkuDetails to false. I know that this variable cannot always be false, but maybe it could be parametrized earlier."},"comment":{"url":"https://api.github.com/repos/libgdx/gdx-pay/issues/comments/127779758","html_url":"https://github.com/libgdx/gdx-pay/issues/49#issuecomment-127779758","issue_url":"https://api.github.com/repos/libgdx/gdx-pay/issues/49","id":127779758,"user":{"login":"alex-dorokhov","id":788340,"avatar_url":"https://avatars.githubusercontent.com/u/788340?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-dorokhov","html_url":"https://github.com/alex-dorokhov","followers_url":"https://api.github.com/users/alex-dorokhov/followers","following_url":"https://api.github.com/users/alex-dorokhov/following{/other_user}","gists_url":"https://api.github.com/users/alex-dorokhov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-dorokhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-dorokhov/subscriptions","organizations_url":"https://api.github.com/users/alex-dorokhov/orgs","repos_url":"https://api.github.com/users/alex-dorokhov/repos","events_url":"https://api.github.com/users/alex-dorokhov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-dorokhov/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T22:29:01Z","updated_at":"2015-08-04T22:29:01Z","body":"@noblemaster sounds good to me.\nI also had in mind the idea from point B.\n4 авг. 2015 г. 9:10 пользователь \"Christoph Aschwanden\" <\nnotifications@github.com> написал:\n\n> I agree with alex-dorokhov to keep it simple.\n>\n> A) As suggested by alex-dorokhov, we could add a \"autoFetchInformation\"\n> option to PurchaseManagerConfig. In that sense we would fetch all the\n> information during install for people that prefer that. I would not add a\n> fetchInformation() method though. Having it in install(...) seems the more\n> straightforward solution!?\n>\n> B) Depending on the platform, it might be a lot of information to fetch?\n> It's not just Android, but also includes iOS, Desktop markets, you name it.\n> As far as I know no images are currently fetched. But some stores might add\n> that in the future. In order to reduce memory consumption we could modify\n> the getInformation(identifier) method and instead use a callback such as:\n> void getInformation(Callback<Information> information, String identifier).\n> In that sense we deprecate the current getInformation(identifier) method\n> and instruct everyone to use the new method with callback.\n>\n> Comments? Other ideas/suggestions?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/libgdx/gdx-pay/issues/49#issuecomment-127515050>.\n>\n"}}