Commit Graph

24 Commits

Author SHA1 Message Date
Andrea Bizzotto
0a794db392 Update no receipt data error message on demo apps 2017-05-18 11:47:59 +01:00
Andrea Bizzotto
8788468aa8 Fix infinite recursion issue on macOS demo 2017-05-18 11:47:14 +01:00
Andrea Bizzotto
de30875da5 Remove unused line on macOS demo 2017-05-18 11:37:36 +01:00
Andrea Bizzotto
60b06c0ba8 Move receipt refresh and verification code to InAppReceiptVerificator.
Removed refreshReceipt method from SwiftyStoreKit.swift as this is now performed internally
2017-05-17 12:56:32 +02:00
Andrea Bizzotto
9c7e90da3a Compile fix for macOS demo 2017-05-11 17:31:50 +01:00
Andrea Bizzotto
9b4201ac4c Renamed Product to Purchase.
Added quantity to Payment, Purchase types
2017-05-10 14:37:37 +01:00
Andrea Bizzotto
57d1125e86 Rename expiresDate to expiryDate in demo apps 2017-04-24 16:10:09 +01:00
Tom Baranes
768460aaa8 Fix swiftlint warnings 2017-03-27 08:35:43 +02:00
Andrea Bizzotto
dafd0019be Introduce SubscriptionType to differentiate between auto-renewable and non-renewing subscriptions.
For auto-renewable, receipt["latest_receipt_info"] is used.
For non-renewing, receipt["receipt"]?["in_app"] is used.
2017-03-08 09:10:59 +00:00
Andrea Bizzotto
3080c12f76 Fix compile errors on view controllers 2017-02-21 21:47:00 +00:00
Andrea Bizzotto
bec05bd5b2 Fix non correctable linting warnings manually 2017-02-21 21:26:43 +00:00
Andrea Bizzotto
2996240599 Second run with swiftlint 2017-02-21 21:23:34 +00:00
Andrea Bizzotto
1a240051fd First run with swiftlint 2017-02-21 21:21:53 +00:00
Andrea Bizzotto
10e5d78c84 Update error flows in macOS example demo 2017-02-20 18:23:43 +00:00
Andrea Bizzotto
52657393b0 Replace AnyObject with Any 2017-01-15 10:32:43 +00:00
Andrea Bizzotto
fd0b11be15 Update receipt refresh on macOS demo 2017-01-15 09:39:21 +00:00
Andrea Bizzotto
5436815641 Merge pull request #127 from balancemymoney/master
Enabled InAppReceiptRefreshRequest for macOS as it is supported
2017-01-15 09:34:18 +00:00
Andrea Bizzotto
e316d3f833 Update verifyReceipt usage in macOS example code 2017-01-14 17:44:36 +00:00
Ben Baron
9a0a4632dc Enabled InAppReceiptRefreshRequest for macOS as it is supported
- Also productIdentifier is not optional on macOS with Swift 3 so I removed that workaround code
2017-01-12 20:23:40 -05:00
Andrea Bizzotto
a7516e183c Move all SwiftyStoreKit types into separate file 2016-11-15 08:48:14 +00:00
Andrea Bizzotto
27aa8a687e Implement non-atomic complete transactions.
Update all purchase APIs to return a Product type when successful
2016-11-15 08:39:40 +00:00
Andrea Bizzotto
d0cf35eaed Add PaymentTransaction details to completion block of purchase and restore purchases methods.
Updated view controllers to show usage accordingly
2016-11-14 19:29:11 +00:00
Andrea Bizzotto
3180fca1cb Updated macOS demo app with bundle id for demo app 2016-11-13 18:30:51 +00:00
Andrea Bizzotto
ee63638c97 Renamed targets and folders 2016-11-04 23:43:30 +00:00