github bizz84/SwiftyStoreKit 0.16.0
watchOS, discounts, sandbox testing, and more

This update includes some changes and improvements that will (hopefully) fix some common issues as well as expand support for long-awaited features.

New Features

  • watchOS support. Apple has introduced in-app purchases on the Apple Watch starting with watchOS 6.2. Now you can use SwiftyStoreKit to take advantage of this additional platform.
  • Discount support. Now your app can offer in-app purchase discounts to users through SwiftyStoreKit (#458).
  • Cancellable requests. Attempt to cancel requests sent with SwiftyStoreKit.

Improvements & Bug Fixes

  • Sandbox purchasing process should be improved. New checks exist to help you identify when a request is being sent in the sandbox and to isolate sandbox-specific errors.
  • Added Purchased protocol to create common conformance for Purchase, PurchaseDetails, and ReceiptItem.
  • Fixed callback issues when restoring items.
  • Added a new API to retrieve all product identifiers, getDistinctPurchaseIds.
  • Extended support for your own receipt verification process.
  • ReceiptItem now conforms to Codable.
  • Additional extensions on existing StoreKit classes for localizedSubscriptionPeriod, localizedPrice, and localizedDiscountPrice.
latest releases: 0.16.3, 0.16.2, 0.16.1...
12 months ago