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

macOS: improved ErrorCode.storeProblemError to indicate potential cancellation #943

Merged

Conversation

NachoSoto
Copy link
Contributor

Workaround for #370.

Copy link
Contributor

@taquitos taquitos left a comment

Choose a reason for hiding this comment

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

🥅 ⚽ 💨 🐐

@NachoSoto NachoSoto merged commit 6ef1744 into RevenueCat:main Nov 15, 2021
@NachoSoto NachoSoto deleted the mac-os-cancelled-purchase-error branch November 15, 2021 21:37
NachoSoto added a commit that referenced this pull request Dec 14, 2021
This allows us to handle unknown errors, like reported we did in #943, and provide a better user experience.
I filed FB9808927 for this issue in StoreKit 2. Unfortunately we can't do the same we did in #965.
NachoSoto added a commit that referenced this pull request Dec 15, 2021
This allows us to handle unknown errors, like reported we did in #943, and provide a better user experience.
I filed FB9808927 for this issue in StoreKit 2. Unfortunately we can't do the same we did in #965.
NachoSoto added a commit that referenced this pull request Dec 16, 2021
This allows us to handle unknown errors, like reported we did in #943, and provide a better user experience.
I filed FB9808927 for this issue in StoreKit 2. Unfortunately we can't do the same we did in #965 because the `StoreKitError` has no underlying information.

### Before:
<img width="372" alt="Screen Shot 2021-12-14 at 12 25 14" src="https://user-images.githubusercontent.com/685609/146079013-9073a170-d189-4cfc-b05a-d6c7e344b7cd.png">

### After:
<img width="372" alt="Screen Shot 2021-12-14 at 12 21 37" src="https://user-images.githubusercontent.com/685609/146078999-ce9387a8-f26f-43d2-b41c-f477de42a568.png">
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.

None yet

2 participants