Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.16.0 update #544

Merged
merged 45 commits into from
Jun 5, 2020
Merged

0.16.0 update #544

merged 45 commits into from
Jun 5, 2020

Conversation

Sam-Spencer
Copy link
Collaborator

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.

ConfusedVorlon and others added 30 commits February 12, 2019 09:37
Add a shared protocol allowing Purchase, PurchaseDetails and ReceiptItem to be get a common treatment in simple cases
…ting

Add internal init on struct to improve testing
Resolved repurchasing a non-consumable not calling completion, on macOS
RomanPodymov and others added 15 commits April 10, 2020 12:49
Make AppleReceiptValidator's variables service public and mutable
Add `getDistinctPurchaseIds` method
RecieptItem now conforms to Codable
Closes #324 by implementing additional markdown documentation within the code.
Added localizedSubscriptionPeriod as an extension of SKProduct (fixes #474). Also makes SKProductDiscount improvements available for Catalyst apps. Added some watchOS availability markers.
Changed struct memberwise initializers to public from internal.
Fixed build errors in develop
@Sam-Spencer Sam-Spencer added type: enhancement iOS & iPadOS directly related to iPhone and iPad macOS directly related to Mac area: receipt-validation validating receipts for customer or purchase verification area: purchase flows purchase processes, efficiency and failures area: new technologies implementation of new technologies macOS Catalyst directly related to the Catalyst platform labels Jun 5, 2020
@Sam-Spencer Sam-Spencer merged commit a45217b into master Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: new technologies implementation of new technologies area: purchase flows purchase processes, efficiency and failures area: receipt-validation validating receipts for customer or purchase verification iOS & iPadOS directly related to iPhone and iPad macOS Catalyst directly related to the Catalyst platform macOS directly related to Mac type: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants