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

feat: [CustomerCenter] Introduce PurchaseDetailView and PurchaseHistoryView #4662

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

facumenzella
Copy link
Contributor

Motivation

This draft adds a first iteration of the purchase history view:

  • List of active and expired transactions
  • Detailed view for a subscription

Next

  • Non subscription products

Copy link

emerge-tools bot commented Jan 14, 2025

1 build increased size

Name Version Download Change Install Change Approval
Paywalls
com.revenuecat.PaywallsTester
1.0 (1) 10.7 MB ⬆️ 103.3 kB (0.97%) 40.4 MB ⬆️ 426.2 kB (1.07%) N/A

Paywalls 1.0 (1)
com.revenuecat.PaywallsTester

⚖️ Compare build
📦 Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 426.2 kB (1.07%)
Total download size change: ⬆️ 103.3 kB (0.97%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 185.7 kB
Code Signature ⬆️ 11.6 kB
DYLD.Exports ⬆️ 7.3 kB
📝 RevenueCatUI.PurchaseHistoryViewModel.PurchaseHistoryViewModel ⬆️ 2.0 kB
Strings.Unmapped ⬆️ 1.6 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

Section {
ManageSubscriptionsButtonsView(viewModel: self.viewModel,
loadingPath: self.$viewModel.loadingPath)
NavigationLink {
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this look if the app is not using NavigationStack? I know @fire-at-will for example uses his own navigation system

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tweaked it, now it works with both NavigationView and NavigationStack

@RevenueCat-Danger-Bot
Copy link

1 Error
🚫 Label the PR using one of the change type labels. If you are not sure which label to use, choose pr:other.
Label Description
pr:feat A new feature. Use along with pr:breaking to force a major release.
pr:fix A bug fix. Use along with pr:force_minor to force a minor release.
pr:other Other changes. Catch-all for anything that doesn't fit the above categories. Releases that only contain this label will not be released. Use along with pr:force_patch, or pr:force_minor to force a patch or minor release.
pr:RevenueCatUI Use along any other tag to mark a PR that only contains RevenueCatUI changes
pr:next_release Preparing a new release
pr:dependencies Updating a dependency
pr:phc_dependencies Updating purchases-hybrid-common dependency

Generated by 🚫 Danger

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.

5 participants