Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[in_app_purchase] Java API for querying purchases#1259

Merged
mklim merged 1 commit intoflutter:masterfrom
mklim:iap_java_purchasesupdated
Feb 25, 2019
Merged

[in_app_purchase] Java API for querying purchases#1259
mklim merged 1 commit intoflutter:masterfrom
mklim:iap_java_purchasesupdated

Conversation

@mklim
Copy link
Contributor

@mklim mklim commented Feb 23, 2019

Actually responds in the onPurchasesUpdated() handler automatically
called when purchase updates are received.

Exposes BillingClient#queryPurchases, which is meant to be used to get
recently purchased items from the on disk Play cache.

Also exposes BillingClient#queryPurchaseHistoryAsync, which returns the
most recent purchase of the user for each SKU of the given type.

This patch also contains some updates to the Gradle script so that the
example app version is set independently of the Flutter SDK version.

Actually responds in the onPurchasesUpdated() handler automatically
called when purchase updates are received.

Exposes BillingClient#queryPurchases, which is meant to be used to get
recently purchased items from the on disk Play cache.

Also exposes BillingClient#queryPurchaseHistoryAsync, which returns the
most recent purchase of the user for each SKU of the given type.

This patch also contains some updates to the Gradle script so that the
example app version is set independently of the Flutter SDK version.
@mklim mklim requested a review from cyanglaz February 23, 2019 00:31
Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left 2 comments just to make sure.

@mklim mklim merged commit fad02d8 into flutter:master Feb 25, 2019
@mklim mklim deleted the iap_java_purchasesupdated branch February 25, 2019 17:00
romaluca pushed a commit to romaluca/plugins that referenced this pull request Mar 6, 2019
Actually responds in the onPurchasesUpdated() handler automatically
called when purchase updates are received.

Exposes BillingClient#queryPurchases, which is meant to be used to get
recently purchased items from the on disk Play cache.

Also exposes BillingClient#queryPurchaseHistoryAsync, which returns the
most recent purchase of the user for each SKU of the given type.

This patch also contains some updates to the Gradle script so that the
example app version is set independently of the Flutter SDK version.

flutter/flutter#26326
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants