Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(in-app-purchase-3) new InAppPurchase3 plugin #4849

Merged
merged 2 commits into from
Oct 13, 2024

Conversation

gxolin
Copy link
Contributor

@gxolin gxolin commented Oct 10, 2024

Close #4848

I'm not sure if this should be an update of the plugin in-app-purchase-2, but since the wrapped cordova-plugin-purchase got some huge backward compatibility breaks in the version 13.x I thought it was better.

(Note : only lightly tested, I'm new to both capacitor and cordova-plugin-purchase. I'll test it more thoughtfully in the next days, I'm working on a angular + capacitor in app purchase integration.)

@Plugin({
pluginName: 'InAppPurchase3',
plugin: 'cordova-plugin-purchase',
pluginRef: 'CdvPurchase.store',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other BC breaks aside, this is where the plugin was no more discovered by awesome-cordova despite beeing registered by capacitor :
cordova-plugin-purchase v11 was using window['store'], the v13 version is using window['CdvPurchase.store']

@danielsogl danielsogl merged commit be6000f into danielsogl:master Oct 13, 2024
danielsogl added a commit that referenced this pull request Nov 11, 2024
danielsogl added a commit that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update in-app-purchase-2 to cordova-plugin-purchase v13
2 participants