Skip to content

Commit

Permalink
v13.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
j3k0 committed Sep 7, 2023
1 parent c194b44 commit d82447b
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 6 deletions.
37 changes: 35 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,41 @@
# Release Notes - Cordova Plugin Purchase

## 13.7
## 13.8.0

### 13.7.0
#### 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.

## 13.7.0

#### Fix AppStore introctory prices

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-purchase",
"version": "13.7.0",
"version": "13.8.0",
"description": "Cordova Purchase plugin for iOS, Android, Windows (AppStore, Play, UWP)",
"cordova": {
"id": "cordova-plugin-purchase",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SOFTWARE.
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-purchase"
xmlns:android="http://schemas.android.com/apk/res/android"
version="13.7.0">
version="13.8.0">

<name>Purchase</name>
<description>Cordova Purchase plugin for iOS (AppStore), Android (PlayStore) and Windows</description>
Expand Down
2 changes: 1 addition & 1 deletion src/ts/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace CdvPurchase {
/**
* Current release number of the plugin.
*/
export const PLUGIN_VERSION = '13.7.0';
export const PLUGIN_VERSION = '13.8.0';

/**
* Entry class of the plugin.
Expand Down

0 comments on commit d82447b

Please sign in to comment.