SwiftyStoreKit v0.16.1 Release Notes

Release Date: 2020-07-19 // 4 months ago
  • ๐Ÿ›  Fixed issues when compiling for watchOS, with SPM, Xcode 12, and / or Swift 5.3+.


Previous changes from v0.16.0

  • โšก๏ธ 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.
    • 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.