Pavel Tikhonenko
0dcd33f93f
Fix compilation issues
2021-05-25 17:25:07 +03:00
Pavel Tikhonenko
ae2ff2660c
Expose all necessary methods to objc world
2021-05-25 14:52:44 +03:00
Pavel Tikhonenko
31205bcfd0
Merge branch 'feature/objc-support'
...
* feature/objc-support:
Fix typos
Add extra initialization methods
Fix initialization methods
Fix initialization methods
Fix initialization methods
Fix localReceipt function
Fix spm
Make it possible to use library in objc project (https://github.com/tikhop/TPInAppReceipt/issues/84 )
2021-05-25 14:00:35 +03:00
Pavel Tikhonenko
49778a2932
Fix typos
2021-05-25 00:55:52 +03:00
Pavel Tikhonenko
4205371b89
Add extra initialization methods
2021-05-25 00:09:22 +03:00
Pavel Tikhonenko
b15fcc3717
Fix initialization methods
2021-05-25 00:04:05 +03:00
Pavel Tikhonenko
111bb0a46a
Fix initialization methods
2021-05-25 00:01:57 +03:00
Pavel Tikhonenko
4afd9066f6
Fix initialization methods
2021-05-24 23:59:04 +03:00
Pavel Tikhonenko
de4e1ad663
Fix localReceipt function
2021-05-24 23:49:25 +03:00
Pavel Tikhonenko
cc3bfef06c
Make it possible to use library in objc project ( https://github.com/tikhop/TPInAppReceipt/issues/84 )
2021-05-24 23:31:35 +03:00
Pavel Tikhonenko
a1cca944ec
Use Set instead of Array when passing product identifiers
2021-05-24 20:59:05 +03:00
Pavel Tikhonenko
fad6801035
Make InAppReceipt extension public
2021-05-24 19:42:29 +03:00
Pavel Tikhonenko
afa5f64e52
Use Set instead of Array to store SKProducts inside subscription group
2021-05-24 19:40:06 +03:00
Pavel Tikhonenko
31dae26350
Build subscription group from SKProductsResponse
2021-05-24 19:34:51 +03:00
Pavel Tikhonenko
d2e720450d
Make SKProductsResponse extension public
2021-05-24 19:20:44 +03:00
Pavel Tikhonenko
a89fc548aa
Check whether user is eligible for any products within the same subscription group ( https://github.com/tikhop/TPInAppReceipt/issues/85 )
2021-05-24 19:14:40 +03:00
Pavel Tikhonenko
7a386fdfdd
Check eligibility even if StoreKit.framework isn't available
2021-05-17 21:21:37 +03:00
Pavel Tikhonenko
96abb65fc4
Check whether user is eligible for introductory offer ( https://github.com/tikhop/TPInAppReceipt/issues/85 )
2021-05-17 21:01:55 +03:00
Pavel Tikhonenko
37314d7605
InAppReceipt() returns local receipt
2021-05-17 20:22:37 +03:00
Pavel Tikhonenko
eb79f08ac3
Fix crash when trying to decode receipt from StoreKitTest. InAppPurchase.originalPurchaseDate is nil in StoreKitTest. ( https://github.com/tikhop/TPInAppReceipt/issues/83 )
2021-04-03 22:55:40 +03:00
Pavel Tikhonenko
eb307bc257
Fix typo
2021-04-02 23:31:23 +03:00
Pavel Tikhonenko
7b1657c4d8
Update copyright
2021-04-02 21:51:55 +03:00
Pavel Tikhonenko
6d02bd8bca
Parse app's age rating
2021-04-02 21:51:55 +03:00
Pavel Tikhonenko
a05f3fe0b1
Use Date type instead of String for all variables containing dates
2021-04-02 21:51:55 +03:00
Pavel Tikhonenko
02fb917b54
Fix second typo ( https://github.com/tikhop/TPInAppReceipt/issues/69 )
2020-11-08 16:10:18 +03:00
Pavel Tikhonenko
5438a00daf
Fix typo ( https://github.com/tikhop/TPInAppReceipt/issues/69 )
2020-11-08 16:07:23 +03:00
Pavel Tikhonenko
1ea772be1b
Post merge polishing
2020-10-22 03:48:21 +03:00
Dobromir Stoev
651633f6b6
fixes '"[BackgroundTask] Background Task ...
...
fixes '"[BackgroundTask] Background Task 1 ("SKReceiptRefreshRequest"), was created over 30 seconds ago....'
2020-10-14 12:00:47 +03:00
Pavel Tikhonenko
c98f53904f
Switch from Int to Int32
2020-09-16 14:33:09 +03:00
Pavel Tikhonenko
f61bf8b2cb
Performance improvemence
2020-08-16 03:17:18 +03:00
Pavel Tikhonenko
67a618d183
Merge branch 'develop' of https://github.com/tikhop/TPInAppReceipt into develop
2020-08-16 02:16:42 +03:00
Pavel Tikhonenko
1ed3fb0f69
Remove all PKCS7 stuff (move it to ASN1Swift); Parse payload without using extra decoder
2020-08-16 02:16:29 +03:00
Pavel Tikhoneko
a9907a8602
Merge pull request #61 from motocodeltd/do_not_hardcode_simulator_uuid
...
Do not hardcode simulator uuid but use OS specific code
2020-08-10 17:24:34 +03:00
Stefanos Zachariadis
6b5f44647d
do not hardcode simulator uuid but use OS specific code
2020-08-10 17:15:23 +03:00
Pavel Tikhonenko
8a93e65ba8
Merge branch 'develop' of https://github.com/tikhop/TPInAppReceipt into develop
...
# Conflicts:
# Package.swift
2020-08-08 12:58:47 +03:00
Pavel Tikhonenko
19f2541cde
Improve PCKS7 decoding by changing the way we decoding sub elements for Payload
2020-08-08 12:57:30 +03:00
Stefanos Zachariadis
c1c6e71987
use ISO8601DateFormatter for date parsing
2020-08-06 22:49:27 +01:00
Stefanos Zachariadis
8a248c3ccb
use ISO8601DateFormatter for date parsing
2020-08-06 22:32:13 +01:00
Pavel Tikhonenko
8e7d9f832a
Code cleanup
2020-08-06 15:56:57 +03:00
Pavel Tikhonenko
5818ad5047
All public fields of InAppReceip with a type Thu Aug 6 15:53:23 MSK 2020 must return value with a type Thu Aug 6 15:53:23 MSK 2020 not string
2020-08-06 15:53:23 +03:00
Pavel Tikhonenko
182ef4a18f
Extract and use a proper SecKeyAlgorithm from receipt
2020-08-05 23:57:42 +03:00
Pavel Tikhonenko
827fa17ee1
Handle StoreKitTest Certificate
2020-08-05 22:05:38 +03:00
Pavel Tikhonenko
3ad5f841ef
Validation works again
2020-08-05 21:20:40 +03:00
Pavel Tikhonenko
ae031abaf2
Parse all receipt field including certificates and signature
2020-08-05 20:38:48 +03:00
Pavel Tikhonenko
6a8a725300
Extract signer infos from pkcs7
2020-08-05 06:43:43 +03:00
Pavel Tikhonenko
21613eca58
Change receipt structure; prepare for signature and certificates decoding
2020-08-05 05:58:18 +03:00
Pavel Tikhonenko
915dbaa074
Refactoring: substitute legacy asn1 decoder with
2020-08-05 00:21:49 +03:00
Pavel Tikhonenko
849fe6332d
Refactoring:InAppReceipt wraps pkcs7 container and reads all data from it; Decode InAppReceiptPayload""
2020-08-04 22:39:16 +03:00
Pavel Tikhonenko
b8522a1b4b
Starting refactoring and migration on ASN.1 Decoder
2020-08-04 17:16:02 +03:00
Pavel Tikhonenko
f84b753eca
Integrate ASN1Decoder; Parse New In App Receipt format
2020-08-04 05:34:09 +03:00