godot-sdk-integrations / godot-google-play-billing

Godot Android plugin for the Google Play Billing library
MIT License
156 stars 50 forks source link

this work for godot 4? #43

Open faus1000 opened 1 year ago

faus1000 commented 1 year ago

how to use this plugin for godot 4

code-with-max commented 1 year ago

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

PickleJesus123 commented 1 year ago

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

NianoTT commented 1 year ago

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

kyadalu1 commented 10 months ago

Try this

GuacGameDev commented 2 months ago

On August 31st Google Play Developer will not allow you to update your game unless it uses Google Play Billing Library version 6.0.1 or later.