I’m currently trying to use InAppPurchase from Ionic native, but I keep getting hit with this error when I try to import from ionic native:
TypeScript error: /Users/petersenyszyn/Documents/ComplimentApp/app/pages/home/home.ts(4,46): Error TS2305: Module '"/Users/petersenyszyn/Documents/ComplimentApp/node_modules/ionic-native/dist/index"' has no exported member 'InAppPurchase'.
I had already installed it using
ionic plugin add, so I’m really at loss as to what the issue could be. I did some digging around inside of of the directory node_modules/ionic-native/dist/plugins/ and InAppPurchases is not in there. I reinstalled and ionic beta twice, and nothing has fixed my problem.
If anyone has any idea what the issue is, I’d be grateful for any help.