AlexDisler / cordova-plugin-inapppurchase

A lightweight cordova plugin for in app purchases on iOS/Android
316 stars 192 forks source link

Class Not Found inAppPurchase.getProducts() #151

Open ahunter135 opened 7 years ago

ahunter135 commented 7 years ago

Please include:

Your code / steps to reproduce

if (window.inAppPurchase) {
        window.inAppPurchase
          .getProducts(['com...upgrade'])
          .then(function(products) {
            $scope.products = products;
            alert($scope.products);
          })
          .catch(function(err) {
            alert(err);
          });
      }

Console output

Class Not Found

Type of product you are working with consumable/non-consumable/subscription

non-consumable

Version of cordova

Version of iOS/Android

johnhalsey commented 6 years ago

I am having the exact same error