Skip to content

Commit

Permalink
[#135759] Fix. doc reference finishPurchase to completePurchase.
Browse files Browse the repository at this point in the history
  • Loading branch information
droidbg committed Oct 6, 2023
1 parent e578a16 commit 6e5620e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class InAppPurchase implements InAppPurchasePlatformAdditionProvider {
/// Restored purchases are delivered through the [purchaseStream] with a
/// status of [PurchaseStatus.restored]. You should listen for these purchases,
/// validate their receipts, deliver the content and mark the purchase complete
/// by calling the [finishPurchase] method for each purchase.
/// by calling the [completePurchase] method for each purchase.
///
/// This does not return consumed products. If you want to restore unused
/// consumable products, you need to persist consumable product information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ abstract class InAppPurchasePlatform extends PlatformInterface {
/// Restored purchases are delivered through the [purchaseStream] with a
/// status of [PurchaseStatus.restored]. You should listen for these purchases,
/// validate their receipts, deliver the content and mark the purchase complete
/// by calling the [finishPurchase] method for each purchase.
/// by calling the [completePurchase] method for each purchase.
///
/// This does not return consumed products. If you want to restore unused
/// consumable products, you need to persist consumable product information
Expand Down

0 comments on commit 6e5620e

Please sign in to comment.