Skip to content

Commit

Permalink
Fixed Purchase Completed Event Handler Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
divanc committed Jan 17, 2024
1 parent eb599f9 commit 825eafc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/RNAUICallHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ class RNAUICallHandler: RCTEventEmitter, AdaptyPaywallControllerDelegate {
/// PURCHASE SUCCESS
public func paywallController(_ controller: AdaptyPaywallController,
didFinishPurchase product: AdaptyPaywallProduct,
profile: AdaptyProfile) {
self.pushEvent(EventName.onPurchaseCompleted, view: controller, data: profile)
purchasedInfo: AdaptyPurchasedInfo) {
self.pushEvent(EventName.onPurchaseCompleted, view: controller, data: purchasedInfo.profile)
}

/// RENDERING FAILED
Expand Down

0 comments on commit 825eafc

Please sign in to comment.