godotengine / godot-google-play-billing

Godot Android plugin for the Google Play Billing library
MIT License
138 stars 39 forks source link

Billing Library version 3 #34

Closed HEAVYPOLY closed 1 year ago

HEAVYPOLY commented 2 years ago

Tried uploading to play console and getting this error:

Error We've detected this app uses an unsupported version of Play billing. Please upgrade to Billing Library version 3 or newer to publish this app. Learn More about Billing Library 3.

using v.1.0.1

joshua-Ig commented 2 years ago

@HEAVYPOLY hey, I get the same error. But from what I can read, the plugin is supposed to be on version 4.0 already? Have you found a solution?

HEAVYPOLY commented 2 years ago

Yes, had to build the plugin using latest and it worked.

joshua-Ig commented 2 years ago

@HEAVYPOLY I got it to work now too, but I now have the issue with the Singleton if Engine.has_singleton("GodotGooglePlayBilling"): returns false. Even tho I have both custom build and the plugin enabled

HEAVYPOLY commented 2 years ago

Engine.has_singleton("GodotGooglePlayBilling") returns true for me. I did have to change the code a bit following the updated docs for godot google play billing though, there's some new callback functions. Does it do the whole custom gradle build thing when deploying?

timoschwarzer commented 1 year ago

See https://github.com/godotengine/godot-google-play-billing/issues/35