Skip to content

Releases: defold/extension-iap

Google Play Billing 6.2.1

04 Jul 13:19
f398677
Compare
Choose a tag to compare

NEW: This version uses Google Play Billing 6.2.1 and is compatible with Android 14.

Google Play Billing 6.0.0

03 Jul 17:35
ba0e1b6
Compare
Choose a tag to compare

NEW: Google Play Billing has been updated to version 6.0.0. This version requires a maximum targetSdkVersion of 31.

Updated to support Defold 1.8.0

15 Apr 08:02
68ef7f4
Compare
Choose a tag to compare

CHANGE: This version works on Defold 1.8.0 and above

Various crash fixes

07 Aug 05:31
649a8a1
Compare
Choose a tag to compare

CHANGE: Null pointer check before using purchase listener
FIX: Array index out of bounds (#47)
FIX: App crash on slow purchases (#56)

Fix issue on Android after update of JSON API

21 Nov 09:31
f97a7ee
Compare
Choose a tag to compare

FIX: This fixes a crash on successful calls to iap.list() caused by the recent migration of JSON API in the Defold engine.

Updated to use new Lua json decoder

02 Nov 14:00
caff439
Compare
Choose a tag to compare

Compatible with Defold 1.4.0+

Updated to Google Play Billing 5

08 Sep 08:43
40648f4
Compare
Choose a tag to compare

CHANGE: The Google Play support has been updated to use Google Play Billing API 5
CHANGE: When buying subscriptions on Google Play an offer token needs to be provided:

-- offer token from call to iap.list()
iap.buy("subscription_id", { token = "offer_token_from_iap_list" })

NEW: Google Play subscriptions now return a lot more data about pricing options, billing cycles, recurrence mode and more when doing iap.list()

iap.list(ids, function(self, products, error))
    for _,product in pairs(products) do
        print(product.ident, product.title, product.description)
        if product.subscriptions end
            -- a product has one or more subscription offers
            for _,subscription in pairs(product.subscriptions) do
                -- use this token when buying this particular subscription
                print(subscription.token)
                for _,price in pairs(subscription.pricing) do
                    print(price.price_string)
                    print(price.price)
                    print(price.currency_code)
                    print(price.billing_period)
                    print(price.billing_cycle_count)
                    print(price.recurrence_mode)
                end
            end
        end
    end
end)

Support for Android 12

02 May 13:04
0a10ff0
Compare
Choose a tag to compare

This release adds support for Android 12

Smaller mutex scope + use new SDK android methods (Defold 1.2.188)

31 Oct 21:01
df7f05c
Compare
Choose a tag to compare
  • Use smaller scope for the callback's mutex to avoid possible ANRs/Crashes
  • Use new Defold SDK API (1.2.188) for attaching VM thread and loading java class

Crash fix for iOS reload of extension

06 Oct 12:49
Compare
Choose a tag to compare
3.3.0

Fixed nul pointer deferencing