Skip to content

Paywalls: improved purchase-in-progress UI#3279

Merged
NachoSoto merged 2 commits into
mainfrom
paywalls-improve-purchase-state
Oct 6, 2023
Merged

Paywalls: improved purchase-in-progress UI#3279
NachoSoto merged 2 commits into
mainfrom
paywalls-improve-purchase-state

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

Before:

Screenshot 2023-10-05 at 10 35 12 Screenshot 2023-10-05 at 10 35 04 Screenshot 2023-10-05 at 10 34 47

After:

Screenshot 2023-10-05 at 10 33 53 Screenshot 2023-10-05 at 10 33 46 Screenshot 2023-10-05 at 10 33 37

@NachoSoto NachoSoto requested a review from a team October 5, 2023 17:36
.environmentObject(self.introEligibilityViewModel)
.environmentObject(PreviewHelpers.purchaseHandler)
.background(configuration.backgroundView)
.disabled(PreviewHelpers.purchaseHandler.actionInProgress)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just a small fix for previews

Comment on lines +139 to +143
.buttonStyle(PackageButtonStyle(
// Reducing opacity would reveal the discount overlay
// layers behind the button
fadeDuringPurchases: false
))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note that template 4 disables this behavior to avoid it looking like this:
Screenshot 2023-10-05 at 10 37 28

@NachoSoto NachoSoto changed the title Paywalls: improved purchase in progress UI Paywalls: improved purchase-in-progress UI Oct 5, 2023
@NachoSoto NachoSoto merged commit 2206f5a into main Oct 6, 2023
@NachoSoto NachoSoto deleted the paywalls-improve-purchase-state branch October 6, 2023 14:29
NachoSoto pushed a commit that referenced this pull request Oct 6, 2023
**This is an automatic release.**

### RevenueCatUI
* `Paywalls`: improved purchase-in-progress UI (#3279) via NachoSoto
(@NachoSoto)
### Bugfixes
* `SK2StoreProduct.priceFormatter`: use locale from `StoreKit.Product`
(#3278) via NachoSoto (@NachoSoto)
### Performance Improvements
* `AAAttribution.attributionToken`: avoid using on main thread (#3281)
via NachoSoto (@NachoSoto)
### Other Changes
* `Paywalls Tester`: group live paywalls by template (#3276) via
NachoSoto (@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants