Skip to content
Discussion options

You must be logged in to vote

Just to say that I got this working by importing the Ionic Native wrapper in-app-purchase-2 like so:

import { InAppPurchase2 } from "@ionic-native/in-app-purchase-2";
const store = InAppPurchase2;

Took me a while to figure out that I needed to drop the Angular-specific part of the import path to get this to work with Vue. After that it was pretty straightforward to use the documented methods.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeremyburton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant