125 Commits
Author SHA1 Message Date
Andy Boedo 7ed16d22ae fixed udid logic for watchOS 2020-07-15 19:46:48 -03:00
Pavel Tikhonenko 3cd1ca817e Properly checking whether local receipt exists or not (https://github.com/tikhop/TPInAppReceipt/issues/54) 2020-07-14 17:55:27 +03:00
Pavel Tikhonenko bcb2448b47 Revert last changes 2020-06-26 01:37:15 +03:00
Pavel Tikhonenko 7d713e4675 Improve Validation performance 2020-06-25 19:24:37 +03:00
Pavel Tikhonenko b8986ce221 Parse additional in-app fields: Receipt's environment, Product type, Promotional offer id 2020-06-18 17:58:01 +03:00
Pavel Tikhonenko 64aaeb1860 Extract field from In-App Purchase's payload 2020-05-06 21:59:27 +03:00
Pavel Tikhonenko 3abd4bc627 Fix compilation issue for apple watch target 2020-05-01 00:33:39 +03:00
Pavel Tikhonenko b276bd8eb0 Ensure that in app receipt refresh request finish when the app in the bg mode 2020-05-01 00:22:01 +03:00
Pavel Tikhonenko 099306a97f Merge branch 'master' of https://github.com/tikhop/TPInAppReceipt 2020-05-01 00:00:26 +03:00
Pavel Tikhonenko 97b66cf49d Refresh receipt 2020-05-01 00:00:07 +03:00
Pavel Tikhoneko f29abf5f74 Fix compilation issue by adding Cocoa framework 2020-04-07 03:05:30 +03:00
Pavel Tikhonenko b1a9887e85 Improve Bundle.lockUp method 2020-03-13 13:30:12 +03:00
Pavel Tikhoneko 533ec8a629 Update Validation.swift 2019-12-09 23:09:34 +03:00
Axel dab93e651e Added Worldwide Developer Certificate to the chain of trust for iTunes certificate
Added Worldwide Developer Certificate to the chain of trust for iTunes certificate
2019-12-08 23:34:02 +08:00
Pavel Tikhonenko c5114d429d Fix an issue when AppleRootCertificate can't be found in the main bundle (https://github.com/tikhop/TPInAppReceipt/issues/41) 2019-12-04 11:16:28 +03:00
Pavel Tikhonenko 44dd57c480 Fix compiling issues 2019-12-03 18:31:28 +03:00
Pavel Tikhonenko 4ba8a0a16c Fix compiling issues 2019-12-03 18:27:42 +03:00
Pavel Tikhonenko f8bbb6eb11 Fix Catalyst issue (https://github.com/tikhop/TPInAppReceipt/issues/38) 2019-12-03 18:07:34 +03:00
Axel 2a47116e81 Removed x509 function as it is not needed
Removed x509 files as it is not needed
2019-11-20 15:58:40 +08:00
Axel 0515a44fab Add availability check before signature validation
Add availability check before signature validation
2019-11-20 15:58:25 +08:00
Axel a1ec087d64 Added chain of trust verification
Added chain of trust verification
2019-11-19 19:51:25 +08:00
Axel 81f70cfd50 Remove unused code
Remove unused code
2019-11-19 03:54:18 +08:00
Axel ce17873985 Got signature validation to work!
Got signature validation to work!
2019-11-19 03:48:13 +08:00
Axel 7203b16ccc I give up lol
I give up lol
2019-11-19 03:43:08 +08:00
Axel c79b6d5a28 Gotten public key sec to work
Gotten public key sec to work
2019-11-19 02:15:58 +08:00
Axel 762a8bee88 Extract public key from x509 cert
Extract public key from x509 cert
2019-11-18 23:58:49 +08:00
Axel 5e99f032cf WIP 2019-11-18 20:27:32 +08:00
Pavel Tikhonenko 8246a9d3ac Bump up pod version 2019-09-10 17:14:44 +03:00
Frank Schlegel 885f3edca7 Added subscriptionIntroductoryPricePeriod field. 2019-09-10 15:52:17 +02:00
Pavel Tikhonenko 3c6c9cefd5 Fix hash validation; fix checking auto renewable subscription issue 2019-08-08 08:56:06 +03:00
Pavel Tikhonenko 9272a95e99 Improve asn1 parsing 2019-07-23 13:14:40 +03:00
Pavel Tikhonenko 17d3d7cde8 Add support for watchos and tvos 2019-07-23 04:07:16 +03:00
Pavel Tikhonenko ee67bc92e2 Fix crash 2019-07-22 22:42:52 +03:00
Pavel Tikhonenko d505edf650 Added some extra methods into receipt: retrive all active subscriptions, checking whether any auto renewable purchase exists 2019-07-22 18:11:33 +03:00
Pavel Tikhonenko e8de6cf0c6 Fix an issue when a sequence of bytes mistakenly treated as a valid ASN1 Object 2019-07-22 13:38:17 +03:00
Pavel Tikhonenko b0f70a5fc3 Implement a function which returns the last auto renewable subscription 2019-07-17 13:12:18 +03:00
Pavel Tikhonenko 4fb7b0155b Implement a function which returns the last auto renewable subscription 2019-07-17 13:10:47 +03:00
Pavel Tikhonenko c833487f5b Fix validation issue (OSX) 2019-07-17 13:10:05 +03:00
Pavel Tikhonenko 6fbf25f945 Prepare for release 2019-07-15 21:33:11 +03:00
Pavel Tikhonenko 821d380f28 GUID validation fix 2019-07-15 21:32:12 +03:00
Pavel Tikhonenko 7789eca5b3 Prepare for release 2019-07-15 19:31:50 +03:00
Pavel Tikhonenko f38ed3f4fa Minor verification improvements 2019-07-03 03:28:19 +03:00
Pavel Tikhonenko 8a73ecef4f minor improvements 2019-07-02 03:36:19 +03:00
Pavel Tikhonenko 642e1d982d Codebase clean up 2019-07-01 22:57:55 +03:00
Pavel Tikhonenko 4bfcb94710 Bring 'InAppReceipt.verify()' method back 2019-06-28 20:27:47 +03:00
Pavel Tikhonenko de678f695a Codebase clean up 2019-06-28 04:23:59 +03:00
Pavel Tikhonenko 4ad1f74fac SwiftPM 2019-06-28 03:47:01 +03:00
Pavel Tikhonenko 630811ef2a fix warnings 2019-06-28 02:51:11 +03:00
Pavel Tikhonenko cf2e0dc9b9 verify if signed data and data exist (part of signature verification flow) 2019-06-28 02:28:10 +03:00
Pavel Tikhonenko 1b794c1c8c verify bundle version 2019-06-28 01:43:52 +03:00