Browse Source

Documented how to get local receipt data

Andrea Bizzotto 8 years ago
parent
commit
8d128e6925
1 changed files with 8 additions and 0 deletions
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -93,6 +93,14 @@ SwiftyStoreKit.restorePurchases() { results in
 }
 ```
 
+### Retrieve local receipt
+
+```swift
+let receiptData = SwiftyStoreKit.localReceiptData
+let receiptString = receiptData.base64EncodedString
+// do your receipt validation here
+```
+
 ### Verify Receipt
 
 ```swift