Quantcast
Viewing all articles
Browse latest Browse all 8068

StoreKit returns empty products array

Hi, I'm developing an iOS app with Titanium Studio 3.1.1 and SDK 3.0.2 GA that has in-app purchases. This is the code with the problem:

var array=['com.mysite.id1', 'com.mysite.id2', 'com.mysite.id3'];
Storekit.requestProducts(array, function(e) {   
   Ti.API.info('Response:' + JSON.stringify(e));                
   if (!e.success) {
      //no success
   } else if (e.invalid) {      
      // invalid
   }else{
      // code...
   }
});
This is the Response I get after long long time:
{"type": "callback", "products": [], "source": {}, "success": true}
Why is products empty? All my settings (appID, certificates, provisioning) are OK and my array doesn't have any Invalid product.

Thanks a lot for your help.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>