Implementing go add free in ionic

A lot of apps in public domain like games etc are free and come with ads.

I have seen a lot of those have a option go premium by paying say a $1.99 and they remove all ads.

How is this implemented in ionic. I understand how i can implement the logic part of showing or not showing based on paid or not. However, how does the part of taking to apple or google playstore paying for it and then checking with app store/play store if user paid or not works?

See Ionic native API in-app-purchase

1 Like