Skip to content

Fix for not being able to read receipts on watchOS#1625

Merged
aboedo merged 1 commit into
RevenueCat:mainfrom
patrickbusch:main
May 31, 2022
Merged

Fix for not being able to read receipts on watchOS#1625
aboedo merged 1 commit into
RevenueCat:mainfrom
patrickbusch:main

Conversation

@patrickbusch

@patrickbusch patrickbusch commented May 30, 2022

Copy link
Copy Markdown
Contributor

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-android and hybrids

Motivation

Description

minorVersion: 0,
patchVersion: 0)
let isBelowFirstOSVersionWithoutBug = ProcessInfo.processInfo.isOperatingSystemAtLeast(firstOSVersionWithoutBug)
let isBelowFirstOSVersionWithoutBug = !ProcessInfo.processInfo.isOperatingSystemAtLeast(firstOSVersionWithoutBug)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch!! This was introduced during the Swift migration, it is correct in v3.

Thanks so much for reporting and fixing!! 🎉 👏 🏆

Merging and we'll get it shipped soon!

@aboedo

aboedo commented May 31, 2022

Copy link
Copy Markdown
Member

There's a lint issue now because the line goes over 120 chars, but we'll fix it as a separate thing

@aboedo aboedo merged commit 15c640a into RevenueCat:main May 31, 2022
@aboedo aboedo mentioned this pull request May 31, 2022
NachoSoto added a commit that referenced this pull request Jun 2, 2022
@NachoSoto NachoSoto mentioned this pull request Jun 2, 2022
NachoSoto added a commit that referenced this pull request Jun 2, 2022
### New Features
* `Purchases.customerInfo()`: added overload with a new `CacheFetchPolicy` (#1608) via NachoSoto (@NachoSoto)
* `Storefront`: added `sk1CurrentStorefront` for Objective-C (#1614) via NachoSoto (@NachoSoto)

### Bug Fixes
* Fix for not being able to read receipts on watchOS (#1625) via Patrick Busch (@patrickbusch)

### Other Changes
* Added tests for `PurchasesOrchestrator` invoking `listenForTransactions` only if SK2 is enabled (#1618) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: removed `lazy` hack for properties with `@available` (#1596) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator.purchase(sk2Product:promotionalOffer:)`: simplified implementation with new operator (#1602) via NachoSoto (@NachoSoto)
@aboedo

aboedo commented Jun 2, 2022

Copy link
Copy Markdown
Member

@patrickbusch thanks once more for your help on this one! the fix has been shipped as a part of 4.5.0 🎉

@aboedo aboedo mentioned this pull request Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants