Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OfferingsManager: don't consider timeouts as configuration errors #2493

Merged
merged 1 commit into from
May 16, 2023

Conversation

NachoSoto
Copy link
Contributor

Fixes #2492.

@NachoSoto NachoSoto added the pr:fix A bug fix label May 15, 2023
@NachoSoto NachoSoto requested a review from a team May 15, 2023 19:58
@NachoSoto NachoSoto force-pushed the offerings-manager-timeout-error branch from e00debb to debf5bc Compare May 15, 2023 19:59
@NachoSoto NachoSoto force-pushed the offerings-manager-timeout-error branch from debf5bc to 9e35c47 Compare May 15, 2023 19:59
@@ -213,10 +219,11 @@ extension OfferingsManager: @unchecked Sendable {}

extension OfferingsManager {

enum Error: Swift.Error, Equatable {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This didn't need to be Equatable. Small but useful code size decrease in the SDK 💪🏻

@NachoSoto NachoSoto force-pushed the offerings-manager-timeout-error branch 3 times, most recently from c847f8e to 2d60e60 Compare May 15, 2023 20:03
@NachoSoto NachoSoto force-pushed the offerings-manager-timeout-error branch from 2d60e60 to 0758d93 Compare May 15, 2023 20:05
@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Merging #2493 (0758d93) into main (e6a1e8f) will increase coverage by 0.06%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##             main    #2493      +/-   ##
==========================================
+ Coverage   87.61%   87.68%   +0.06%     
==========================================
  Files         197      197              
  Lines       13295    13305      +10     
==========================================
+ Hits        11649    11667      +18     
+ Misses       1646     1638       -8     
Impacted Files Coverage Δ
Sources/Purchasing/OfferingsManager.swift 87.75% <93.33%> (+0.12%) ⬆️

... and 4 files with indirect coverage changes

@NachoSoto NachoSoto merged commit e4f6c99 into main May 16, 2023
@NachoSoto NachoSoto deleted the offerings-manager-timeout-error branch May 16, 2023 14:00
This was referenced May 31, 2023
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.

Wrong error returned when "SKProductsRequest took too long to complete" ?
2 participants