File tree Expand file tree Collapse file tree
libraries/react-native-iap/ios Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -960,7 +960,7 @@ class HybridRnIap: HybridRnIapSpec {
960960
961961 func addPurchaseUpdatedListener(
962962 listener: @escaping ( NitroPurchase ) -> Void ,
963- options: NitroPurchaseUpdatedListenerOptions ?
963+ options: PurchaseUpdatedListenerOptions ?
964964 ) throws -> Double {
965965 let dedupeTransactionIOS = purchaseUpdatedDedupeTransactionIOS ( from: options)
966966 let receiveDuplicateTransactionUpdatesIOS = !dedupeTransactionIOS
@@ -1004,7 +1004,7 @@ class HybridRnIap: HybridRnIapSpec {
10041004 }
10051005
10061006 private func purchaseUpdatedDedupeTransactionIOS(
1007- from options: NitroPurchaseUpdatedListenerOptions ?
1007+ from options: PurchaseUpdatedListenerOptions ?
10081008 ) -> Bool {
10091009 guard let dedupeTransactionIOS = options? . dedupeTransactionIOS else {
10101010 return true
@@ -1153,7 +1153,7 @@ class HybridRnIap: HybridRnIapSpec {
11531153 return
11541154 }
11551155 RnIapLog . payload ( " purchaseUpdatedListener.register.duplicates " , nil )
1156- let options = PurchaseUpdatedListenerOptions (
1156+ let options = OpenIAP . PurchaseUpdatedListenerOptions (
11571157 dedupeTransactionIOS: false
11581158 )
11591159 purchaseUpdatedDuplicateSub = OpenIapModule . shared. purchaseUpdatedListener ( { [ weak self] openIapPurchase in
You can’t perform that action at this time.
0 commit comments