76 Commits

Author SHA1 Message Date
tikhop c5094d2526 Merge pull request #127 from mikeakers/typos 2024-10-24 20:33:21 +02:00
Mike Akers 994f5e50d1 Fix a couple of typos 2024-10-22 14:22:18 -04:00
tikhop 5c98719f04 feat: Remove unnecessary availability checks 2024-04-28 00:56:18 +02:00
tikhop 69a07bce4d chore: Add privacy manifest 2024-04-03 16:17:35 +02:00
tikhop ca7761cfe4 chore: Code clean up 2024-02-08 23:05:13 +01:00
tikhop 568094538e Merge pull request #116 from czarny/master
feat: Original app purchase date support
2024-02-01 12:33:11 +01:00
czarny cac248c1a8 Exposed app purchase date in objc interface. 2024-01-30 10:50:59 +01:00
czarny a4ee5c30ef Added reading of app purchase date from receipt. 2024-01-30 10:48:30 +01:00
Pedro José Pereira Vieito 2115236e7c Added visionOS support 2024-01-16 00:03:56 +01:00
Rachel Brindle 4b2b4eca89 xcode 14 removes the kIOMasterPortDefault symbol 2022-07-22 18:59:41 -07:00
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