godot-google-play-billing
godot-google-play-billing copied to clipboard
this work for godot 4?
how to use this plugin for godot 4
No. Method getSkus is deprecated. If you want use this plugin - you must using getProducts() manually.
https://developer.android.com/reference/com/android/billingclient/api/Purchase#getProducts()
I have been using release 2.0.0-rc.1 in my Godot 4 project and it seems to be working. You need to rename a few variables/methods, but it's mostly the same. All name changes seem to be decently documented in the official tutorial
Master + #52 (which is the latest, supported version) is Godot 4 compatible without changes (and matches the docs unlike 2.0-rc1) - also uses a newer Billing API so it's preferable.
If you don't want to compile is, here is a ready to use release: https://github.com/finepointcgi/godot-google-play-billing
Try this