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

Daniel/subscriptions/3.manage subscription #2336

Merged
merged 163 commits into from
Jan 17, 2024

Conversation

afterxleep
Copy link
Collaborator

@afterxleep afterxleep commented Jan 12, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1205054784245717/f

Description:

  • Implement Subscription Management View
  • Adds labels to the transaction progress box and reduces the opacity of the background view.

Steps to test this PR:

  1. Purchase a Subscription
  2. Observe that the Progress Dialog now tells you the current Status "Purchasing Subscription or Completing Purchase"
  3. Go to Settings -> Manage Subscription
  4. Tap Change Plan or Billing and observe you're taken to the iOS subscription management page
  5. Tap Remove From this device and confirm
  6. Try to purchase the subscription again. It should be found and adequately restored
  7. Observe that during Restore, the progress dialog says "Restoring subscription."

Internal references:

Software Engineering Expectations
Technical Design Template

@afterxleep afterxleep requested a review from miasma13 January 12, 2024 17:16
Copy link
Contributor

@miasma13 miasma13 left a comment

Choose a reason for hiding this comment

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

Couple of minor comments and some subtasks left on https://app.asana.com/0/1203936086921904/1206337715257645/f

DuckDuckGo/PrivacyPro/Views/PurchaseInProgressView.swift Outdated Show resolved Hide resolved
DuckDuckGo/SettingsViewModel.swift Outdated Show resolved Hide resolved
DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift Outdated Show resolved Hide resolved
DuckDuckGo/PrivacyPro/Views/SubscriptionSettingsView.swift Outdated Show resolved Hide resolved
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo/PrivacyPro/UserScripts/SubscriptionPagesUseSubscriptionFeature.swift
#	DuckDuckGo/PrivacyPro/ViewModel/SubscriptionFlowViewModel.swift
#	DuckDuckGo/PrivacyPro/Views/SubscriptionFlowView.swift
#	DuckDuckGo/SettingsPrivacyProView.swift
#	DuckDuckGo/SettingsViewModel.swift
#	DuckDuckGo/UserText.swift
#	DuckDuckGo/en.lproj/Localizable.strings
# Conflicts:
#	DuckDuckGo/en.lproj/Localizable.strings
Copy link

github-actions bot commented Jan 16, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against 8d5806b

@afterxleep
Copy link
Collaborator Author

@miasma13 Fixed all suggestions in Asana, and added link to load subscriptions via Storekit2. Thanks for the feedback

@afterxleep afterxleep merged commit eb1dae7 into main Jan 17, 2024
10 checks passed
@afterxleep afterxleep deleted the daniel/subscriptions/3.manage-subscription branch January 17, 2024 01:11
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.

7 participants