godotengine / godot-google-play-billing

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

Google Play Billing Library: Update from v5.2.1 to v7.0.0 #67

Open kus04e4ek opened 3 weeks ago

kus04e4ek commented 3 weeks ago

This PR only partially supersedes them, because it doesn't change Android SDK versions, gradle versions, etc. Also doesn't change already deprecated methods in version 5.

Don't have a Google Play dev account, so can't really test, can just confirm that it compiles and doesn't produce different results when using the iap demo project without Google Play Console (GodotGooglePlayBilling's only compatible with 4.0 versions and maybe some 4.1 versions, tested with 4.0.4).

With this PR docs need to be updated (change BillingFlowParams.ProrationMode to BillingFlowParams.SubscriptionUpdateParams.ReplacementMode).

This PR also makes price_change_acknowledged never emit, API changed a lot. These changes seem too big to test without Google Play Console, so if anyone wants to salvage this PR, feel free. Can be merged as is, of course after testing, if having price_change_acknowledged is not critical.