Skip to content

v13.8.0

Compare
Choose a tag to compare
@j3k0 j3k0 released this 07 Sep 14:13
· 73 commits to master since this release
d82447b

Upgrade to Google Play Billing library 5.2.1

Adds access to offer and base plan identifiers.

Handle validator answer with code VALIDATOR_SUBSCRIPTION_EXPIRED

For backward compatibility, the validator also support responses with a 6778003
error code (expired) when the validated transaction is expired.

Fix: AppStore adapter should only return a localReceipt on iOS

A dummy appstore receipt was listed on other platforms, this is fixed.

Prevent various issues

Prevent double calls to approved callbacks

Make sure .approved() is only called once during a small time frame.

Skip quick successive calls to store.update()

The update will be performed only if store.update() or store.initialize()
was called less than store.minTimeBetweenUpdates milliseconds.

This make it safer to always call store.update() when entering the app's
Store screen.

Block double callback registrations

Throw an error when attempting the re-register an existing callback for a given
event handler. This is indicative of initialization code being run more than
once.