Pavel Tikhonenko
f437d0916c
Merge branch 'develop'
...
* develop:
Make sure to use a consistent style for braces (Allman, not K&R)
Allow isEligibleForIntroductoryOffer() method to be called from Objective-C by exposing it through the InAppReceipt_Objc wrapper class
2021-12-20 14:18:40 +03:00
Pavel Tikhonenko
57a24389bc
Destroy refresh session
2021-12-20 14:15:59 +03:00
Marco Piovanelli
c79e3fb157
Make sure to use a consistent style for braces (Allman, not K&R)
2021-12-15 15:38:02 +01:00
Marco Piovanelli
0c4cc3d832
Allow isEligibleForIntroductoryOffer() method to be called from Objective-C by exposing it through the InAppReceipt_Objc wrapper class
2021-12-15 15:35:54 +01:00
Pavel Tikhonenko
7065db5af2
Improve receipt refreshing ( https://github.com/tikhop/TPInAppReceipt/issues/93 )
2021-11-01 20:57:35 +03:00
Pavel Tikhonenko
b94b280f60
Improve receipt refreshing ( https://github.com/tikhop/TPInAppReceipt/issues/93 )
2021-11-01 20:11:08 +03:00
Pavel Tikhonenko
d769fb8946
Update docs ( https://github.com/tikhop/TPInAppReceipt/issues/92 )
2021-09-25 01:37:53 +03:00
Pavel Tikhonenko
4d60d9877b
Try different network interfaces (en0, en1) when getting the GUID in macOS
2021-09-24 01:53:59 +03:00
Pavel Tikhonenko
fa3d5e9ca4
Rename verify to validate
2021-06-08 16:41:48 +03:00
Pavel Tikhonenko
b499594c2a
Remove unnecessary check for target environment
2021-06-08 13:20:17 +03:00
Pavel Tikhonenko
60b56e536d
Use Bundle.main.appVersion when verifying bundle version
2021-06-08 13:19:05 +03:00
Pavel Tikhonenko
1682b6f9eb
Remove unnecessary comparison
2021-06-08 13:17:29 +03:00
Pavel Tikhonenko
a41d466d15
Create "Private" Bundle extension; Add appVersion property into Bundle extension for validation purposes
2021-06-08 12:58:33 +03:00
Pavel Tikhonenko
804744e28e
Introduce isValid getter to check wether receipt is valid or not
2021-05-28 21:34:05 +03:00
Pavel Tikhonenko
22d7d92c30
Break validation method verifyBundleIdentifierAndVersion into two separate methods.
2021-05-27 22:51:00 +03:00
Pavel Tikhonenko
7d494967ec
Fix github actions compilation issue
2021-05-25 19:41:23 +03:00
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