-
Notifications
You must be signed in to change notification settings - Fork 424
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
Client displays correct subscription #3620
Conversation
…em when lacking entitlement
if featureFlagger.localOverrides?.override(for: flag) == nil { | ||
featureFlagger.localOverrides?.toggleOverride(for: flag) | ||
} else { | ||
featureFlagger.localOverrides?.clearOverride(for: flag) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 🙌
Task { | ||
let features = await subscriptionManager.currentSubscriptionFeatures() | ||
|
||
if features.contains(.networkProtection) { | ||
availableCategories.append(.vpn) | ||
} | ||
if features.contains(.dataBrokerProtection) { | ||
availableCategories.append(.pir) | ||
} | ||
if features.contains(.identityTheftRestoration) || features.contains(.identityTheftRestorationGlobal) { | ||
availableCategories.append(.itr) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
**Required**: Task/Issue URL: https://app.asana.com/0/1208524871249522/1208379950230747/f iOS PR: duckduckgo/iOS#3620 macOS PR: duckduckgo/macos-browser#3581 What kind of version bump will this require?: Minor **Description**: See https://app.asana.com/0/1208524871249522/1208379950230747/f **Steps to test this PR**: See client PRs **OS Testing**: * [ ] iOS 14 * [ ] iOS 15 * [ ] iOS 16 * [ ] macOS 10.15 * [ ] macOS 11 * [ ] macOS 12 --- ###### Internal references: [Software Engineering Expectations](https://app.asana.com/0/59792373528535/199064865822552) [Technical Design Template](https://app.asana.com/0/59792373528535/184709971311943)
|
# By Bartek Waresiak (3) and others # Via GitHub (1) and others * main: Remove incorrect tests and reenable some of the non-flaky ones (#3653) Update BSK with version including Privacy Stats module for use in the macOS browser (#3651) point to BSK branch and updates (#3636) Release 7.147.0-6 (#3652) Revert incorrect push Client displays correct subscription (#3620) Re-enable pixel tests except for flaky one Remove Special Pages tests Include inactive tabs statistics in daily tab switcher pixel (#3643) Release 7.147.0-5 (#3649) [Release PR] Add StoreKit debugging metadata to the debug menu (#3637) # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
# By Bartek Waresiak (3) and others # Via GitHub (1) and others * main: Add support for RMF survey `locale` parameter (#3648) Remove incorrect tests and reenable some of the non-flaky ones (#3653) Update BSK with version including Privacy Stats module for use in the macOS browser (#3651) point to BSK branch and updates (#3636) Release 7.147.0-6 (#3652) Revert incorrect push Client displays correct subscription (#3620) Re-enable pixel tests except for flaky one Remove Special Pages tests Include inactive tabs statistics in daily tab switcher pixel (#3643) Release 7.147.0-5 (#3649) [Release PR] Add StoreKit debugging metadata to the debug menu (#3637) # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Task/Issue URL: https://app.asana.com/0/1208524871249522/1208379950230747/f
Description:
See https://app.asana.com/0/1208524871249522/1208799981662317/f
Steps to test this PR:
See https://app.asana.com/0/0/1208836865988482/f and its parent task.
Definition of Done (Internal Only):
Copy Testing:
’
rather than'
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template