I have been struggling with the implementation of in-app purchase for both iOS and Andriod in ionic. I came across tutorials regarding both the cordova-plugin-purchase and the ng-storekit, but seems like the tutorials were based on the version 3.4.1 of cordova-plugin-purchase, and the latest version now has undergone huge modification that the code is no longer applicable. I tried following the demo and API guide on Cordova-plugin-purchase, but no luck. Even window.store
or window.storekit
returns false.
Has anyone work with the latest version of Cordova-plugin-purchase in Ionic and successfully implement IAP? Any working examples demonstrating the initialisation and the purchase flow? Thank you very much.