// Add your product Ids here (non-consumable)
var productIds = [ncProductProVer, ncProductNoAds];
// LOAD all available products
loadProducts = function () {
$ionicLoading.show({ template: spinner + 'Loading...' });
inAppPurchase
.getProducts(productIds)
.then(function (products) {
alert(product.productId);
$ionicLoading.hide();
// Load all products by ID
products.forEach(function (product) {
On Android, the order of available products is as I define in my array above (ncProductProVer, ncProductNoAds). If I change it and put ncProductNoAds as first, it will display as first. BUT iOS whatever order I put my product in the array of available product, the .getProducts always return an array where the ncProductNoAds is first. This behavior only occurs in iOS. It worked some weeks ago like expected..
Your code / steps to reproduce
On Android, the order of available products is as I define in my array above (ncProductProVer, ncProductNoAds). If I change it and put ncProductNoAds as first, it will display as first. BUT iOS whatever order I put my product in the array of available product, the .getProducts always return an array where the ncProductNoAds is first. This behavior only occurs in iOS. It worked some weeks ago like expected..
Version of cordova
6.4.0
Version of iOS/Android
Android 5.01 iOS 10.2