j3k0 / cordova-plugin-purchase

In-App Purchase for Cordova on iOS, Android and Windows
https://purchase.cordova.fovea.cc
1.29k stars 530 forks source link

Example for version 13.0.0 #1430

Closed rprokopenko closed 7 months ago

rprokopenko commented 11 months ago

Hi all, can someone tell me where I can see some example for version 13.0.0. Because, the example which is on the official site - it is not relevant for this version. I'm most interested in an example where I can see how to identify which item was bought.

brunoalex commented 11 months ago

same here code dosent work

v-trishyn commented 11 months ago

Hi @rprokopenko Not sure if you still need it - but I found two examples: the biggest so far for the Angular https://github.com/IsraelHikingMap/Site/blob/015d6780a2f9c08440ef51f18231ed81147af638/IsraelHiking.Web/src/application/services/purchase.service.ts

and other example is from the dev. https://gist.github.com/j3k0/8b7e72b6af43572651328c613ac86d59

danieldanielecki commented 10 months ago

I agree, the v13 docs is a total mess.

j3k0 commented 7 months ago

An example can be found here: https://github.com/j3k0/cordova-subscription-example

I'm trying to put some order on that documentation... Feel free to contribute as well.