Skip to content

Releases: bizz84/SwiftyStoreKit

Enable refresh receipt on macOS

15 Jan 10:24
Compare
Choose a tag to compare

Groundwork to enable 3rd party receipt validation

14 Jan 18:37
Compare
Choose a tag to compare
  • Define ReceiptValidator protocol and default AppleReceiptValidator implementation
  • This is passed to SwiftyStoreKit.verifyReceipt() as follows (API breaking change):
let appleValidator = AppleReceiptValidator(service: .production)
SwiftyStoreKit.verifyReceipt(using: appleValidator, password: "your-shared-secret") { result in
     // handle result
}     

See #126 for additional reference.

Fix for non-atomic completion in completeTransactions()

25 Nov 09:05
Compare
Choose a tag to compare

Add Non-Atomic Purchases

16 Nov 22:58
Compare
Choose a tag to compare

For cases when the host app needs to unlock functionality stored on a server as part of an in-app purchase, SwiftyStoreKit now enables non-atomic purchases.

This is an API breaking change. See the README for example usages.

This fixes #96 and #50.

Rename targets and schemes

13 Nov 18:38
Compare
Choose a tag to compare

What is this

Improved name consistency for targets and schemes in the project. Usage is the same - no API changes.

SwiftyStoreKit now has three framework targets and two demo app targets:

  • SwiftyStoreKit_iOS
  • SwiftyStoreKit_macOS
  • SwiftyStoreKit_tvOS
  • SwiftyStoreKit_iOSDemo
  • SwiftyStoreKit_macOSDemo

The schemes have also been renamed to follow a similar convention.

See related issue: #62

Expose local receipt data from Bundle

04 Nov 23:03
Compare
Choose a tag to compare

The local receipt data can now be read like so:

let receiptData = SwiftyStoreKit.localReceiptData
let receiptString = receiptData.base64EncodedString
// do your receipt validation here

This can be used to perform local receipt validation (not implemented yet, see #101)

SKProduct+LocalizedPrice

19 Oct 22:34
Compare
Choose a tag to compare
  • Add SKProduct extension to provide a localized price
  • Update in app receipt URL type enum to Swift 3 naming convention
  • Update README and sample demos to provide a password when calling verifyReceipt()

Fix for verifySubscription

19 Oct 21:54
Compare
Choose a tag to compare
  • This release fixes #68 by using the receipt request date when checking if a subscription is expired.

Final Swift 2.3 Release

19 Oct 21:12
Compare
Choose a tag to compare
0.4.0

Updated README with Swift 2.3 support

Initial Swift 3.0 Release

19 Oct 21:13
Compare
Choose a tag to compare
0.5.0

Update versioning info on README