github bizz84/SwiftyStoreKit 0.6.2
Groundwork to enable 3rd party receipt validation

  • 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 https://github.com/bizz84/SwiftyStoreKit/pull/126 for additional reference.

latest releases: 0.16.3, 0.16.2, 0.16.1...
4 years ago