Skip to content

Expose local receipt data from Bundle

Compare
Choose a tag to compare
@bizz84 bizz84 released this 04 Nov 23:03
· 633 commits to master since this release

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)