Skip to content

PurchasesOrchestrator: don't log warning if allowSharingAppStoreAccount setting was never explicitly set#1885

Merged
NachoSoto merged 1 commit into
mainfrom
allow-sharing-account-warning
Sep 5, 2022
Merged

PurchasesOrchestrator: don't log warning if allowSharingAppStoreAccount setting was never explicitly set#1885
NachoSoto merged 1 commit into
mainfrom
allow-sharing-account-warning

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Sep 5, 2022

Copy link
Copy Markdown
Contributor

Fixes CSDK-454.

This should reduce a lot of the noise during initialization. The internal backing property was already Bool?, so we can check if it was ever set, and if not, not log anything.
Using TestLogHandler introduced in #1858 to verify this behavior.

…count` setting was never explicitly set

Fixes [CSDK-454].

This should reduce a lot of the noise during initialization. The internal backing property was already `Bool?`, so we can check if it was ever set, and if not, not log anything.
Using `TestLogHandler` introduced in #1858 to verify this behavior.
@NachoSoto NachoSoto added the pr:fix A bug fix label Sep 5, 2022
@NachoSoto NachoSoto requested a review from a team September 5, 2022 21:26

@aboedo aboedo left a comment

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.

awesome! cc @codykerns who was curious about implementation approaches for this one

@NachoSoto NachoSoto merged commit 8b2decf into main Sep 5, 2022
@NachoSoto NachoSoto deleted the allow-sharing-account-warning branch September 5, 2022 22:11
NachoSoto pushed a commit that referenced this pull request Sep 8, 2022
**This is an automatic release.**

### Bugfixes
* `watchOS`: fixed crash when ran on single-target apps with Xcode 14 and before `watchOS 9.0` (#1895) via NachoSoto (@NachoSoto)
* `CustomerInfoManager`/`OfferingsManager`: improved display of underlying errors (#1888) via NachoSoto (@NachoSoto)
* `Offering`: improved confusing log for `PackageType.custom` (#1884) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: don't log warning if `allowSharingAppStoreAccount` setting was never explicitly set (#1885) via NachoSoto (@NachoSoto)
* Introduced type-safe `PurchasesError` and fixed some incorrect returned error types (#1879) via NachoSoto (@NachoSoto)
* `CustomerInfoManager`: fixed thread-unsafe implementation (#1878) via NachoSoto (@NachoSoto)
### New Features
* Disable SK1's `StoreKitWrapper` if SK2 is enabled and available (#1882) via NachoSoto (@NachoSoto)
* `Sendable` support (#1795) via NachoSoto (@NachoSoto)
### Other Changes
* Renamed `StoreKitWrapper` to `StoreKit1Wrapper` (#1886) via NachoSoto (@NachoSoto)
* Enabled `DEAD_CODE_STRIPPING` (#1887) via NachoSoto (@NachoSoto)
* `HTTPClient`: added `X-Client-Bundle-ID` and logged on SDK initialization (#1883) via NachoSoto (@NachoSoto)
* add link to SDK reference (#1872) via Andy Boedo (@aboedo)
* Added `StoreKit2Setting.shouldOnlyUseStoreKit2` (#1881) via NachoSoto (@NachoSoto)
* Introduced `TestLogHandler` to simplify how we test logged messages (#1858) via NachoSoto (@NachoSoto)
* `Integration Tests`: added test for purchasing `StoreProduct` instead of `Package` (#1875) via NachoSoto (@NachoSoto)
* `ErrorUtils`: added test to verify that returned errors can be converted to `ErrorCode` (#1871) via NachoSoto (@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants