Hi there. I am using ionic 3 and in app purchase 2@4. I use this code to approve
this.store.when('product')
.approved((p: IAPProduct) => {
if (p.id === one_month_membership) {
console.log();
}
else if (p.id === three_months_membership) {
console.log();
}
else if (p.id === six_months_membership) {
console.log();
}
else if (p.id === yearly_membership) {
console.log();
}
this.ref.detectChanges();
return p.verify();
})
.verified((p: IAPProduct) => p.finish());
but i get this error when i try to use .verifed
Property 'verified' does not exist on type 'void'.
any
i really wanna know am i doing something wrong or ionic in app purchase 2@4 doesn’t support .verifed
thanks and best regards.
1 post - 1 participant