godot-google-play-billing icon indicating copy to clipboard operation
godot-google-play-billing copied to clipboard

this work for godot 4?

Open faus1000 opened this issue 1 year ago • 5 comments

how to use this plugin for godot 4

faus1000 avatar Mar 19 '23 02:03 faus1000

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()

code-with-max avatar Mar 19 '23 09:03 code-with-max

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

PickleJesus123 avatar Oct 28 '23 20:10 PickleJesus123

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

NianoTT avatar Oct 28 '23 22:10 NianoTT

Try this

kyadalu1 avatar Jan 06 '24 09:01 kyadalu1