Sunday, 15 August 2010

java - Why am I not seeing all of my in-app product details when doing an inventory check? -


I have seen similar posts on the type of problem, but it is where different My problem lies .. < / p>

I'm posted on the alpha channel your Apike, I investigated and I send all while your inventory Czech (see below) 6 in-app products.

  Public Zero getProductDetails () {If (mHelper == zero ||! StoreSetup) Return; ArrayList & LT; String & gt; SkuList = New Arrestist & lt; & Gt; (); & Lt; Issue & gt; IssueList = OrmLiteIssueDAO.getInstance (). GetAllIssues (wrong); (Issue issue: Issue list) {If (! Issue! ISFRIIUUU) & amp; Issues BBIID ()! = Null & amp;! Issue ITBILLING ID (). IT () & amp; Amp;! Issue ITiblingID () .equals ("null") {skuList.add (issue.getBillingId ()); }} List & lt; Membership & gt; Membership list = OrmLite SubscriptionDo.getInstance (). GetAll Subscriptions (); (Membership: Membership list) {if (subscription.getSubscriptionSku ()! = Null & amp; amp ;! Subscription.get Sdasytaankuki (). IsEmpty () & amp ;! equal membership Sdasytaansuku .get (). ( "Null" )) {SkuList.add (subscription.getSubscriptionSku ()); }} If (skuList.size () & gt; 0) {mHelper.queryInventoryAynync (really, skuList, mGotInventoryListener); } SkuList.clear (); IssueList.clear (); SubscriptionsList.clear (); }  

The problem is that I am only getting 3 products back, I bought 3 products.

I do not point the in-app was designed products and active 6 / 3/2015, it is now 10 days later, so this promotion and I could buy all 6 products in your app.

I can not find any details for those products that have not been purchased. / P>

Anyone have any ideas? In

Edit:

Inventory listener looks like:

  IabHelper.QueryInventoryFinishedListener mGotInventoryListener = new IabHelper .infoInventoryFinishedListener () {public void onQueryInventoryFinished (IabResult Results , Inventory inventory) {if (mHelper == null ||! StoreSetup) return; If (result. Failure ()) {return; } If (inventory! = Null) {list & lt; Points & gt; Issues = OrmLiteIssueDAO.getInstance (). GetAllIssues (wrong); (Issue Issue: Issues) {SkuDetails issueDetails = inventory.getSkuDetails (issue.getBillingId ()); If (issue details! = Null) {issue.setIssuePrice (issueDetails.getPrice ()); } OrmLiteIssueDAO.getInstance (). SaveIssueToDB (issue); } List & lt; Membership & gt; Membership list = OrmLite SubscriptionDo.getInstance (). GetAll Subscriptions (); (Membership membership: membership list) {SkuDetails subDetails = inventory.getSkuDetails (subscription.getSubscriptionSku ()) for; If (Sub details! = Null) {subscription.setSubscriptionPrice (subDetails.getPrice ()); } OrmLiteSubscriptionDAO.getInstance (). Saving membership membership (membership); } Issues.clear (); SubscriptionsList.clear (); }}};  


No comments:

Post a Comment