WordPress LMS for Web and mobile › Forums › WPLMS Student App › Installing necessary packages › I am getting this error \"Cannot find name \'InAppPurchase\'.\"
Tagged: InAppPurchase
Typescript Error Cannot find name ‘InAppPurchase’. </div>
D:/Ionic/wplms/src/services/wallet.ts
private config:ConfigService,
private iap: InAppPurchase,
private auth:AuthenticationService,
</div> </div>
Please run these two commands in your ionic project folder (where your src folder is ) .
ionic cordova plugin add cordova-plugin-inapppurchase npm install --save @ionic-native/in-app-purchase