WordPress LMS for Web and mobile Forums WPLMS Student App Installing necessary packages I am getting this error \"Cannot find name \'InAppPurchase\'.\"

I am getting this error \"Cannot find name \'InAppPurchase\'.\"

Tagged: 

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by Alex.
Back to course
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5715

    Hidayat Ullah
    Participant

    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>

    #5722

    Alex
    Keymaster

    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
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.