@capgo/native-purchases 7.8.2 → 7.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -203,7 +203,7 @@ public class NativePurchasesPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
203
203
|
// }
|
|
204
204
|
// print("[InAppPurchase] Subscription renewalInfo verified.")
|
|
205
205
|
response["willCancel"] = !value.willAutoRenew
|
|
206
|
-
|
|
206
|
+
case .unverified:
|
|
207
207
|
print("[InAppPurchase] Subscription renewalInfo not verified.")
|
|
208
208
|
response["willCancel"] = NSNull()
|
|
209
209
|
}
|
|
@@ -380,7 +380,7 @@ public class NativePurchasesPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
380
380
|
// }
|
|
381
381
|
// print("[InAppPurchase] Subscription renewalInfo verified.")
|
|
382
382
|
purchaseData["willCancel"] = !value.willAutoRenew
|
|
383
|
-
|
|
383
|
+
case .unverified:
|
|
384
384
|
print("[InAppPurchase] Subscription renewalInfo not verified.")
|
|
385
385
|
purchaseData["willCancel"] = NSNull()
|
|
386
386
|
}
|
|
@@ -457,7 +457,7 @@ public class NativePurchasesPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
457
457
|
// }
|
|
458
458
|
// print("[InAppPurchase] Subscription renewalInfo verified.")
|
|
459
459
|
purchaseData["willCancel"] = !value.willAutoRenew
|
|
460
|
-
|
|
460
|
+
case .unverified:
|
|
461
461
|
print("[InAppPurchase] Subscription renewalInfo not verified.")
|
|
462
462
|
purchaseData["willCancel"] = NSNull()
|
|
463
463
|
}
|