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

Handle subscription-related iOS use cases #2597

Merged
merged 65 commits into from
Mar 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
64294b8
Deprecate NetP token storage
quanganhdo Mar 8, 2024
548850d
Use SUBSCRIPTION && ALPHA check
quanganhdo Mar 8, 2024
5970f50
Add ALPHA check
quanganhdo Mar 8, 2024
fc56389
Update BSK
quanganhdo Mar 8, 2024
ad64730
Update BSK
quanganhdo Mar 8, 2024
e3bafef
Update BSK
quanganhdo Mar 8, 2024
15d442a
Refactor
quanganhdo Mar 8, 2024
9459cdc
Update BSK
quanganhdo Mar 8, 2024
b0f0918
Update BSK
quanganhdo Mar 11, 2024
879d25b
Merge branch 'main' into anh/netp-subscription-clean-up
quanganhdo Mar 11, 2024
3587d12
Remove obsolete files
quanganhdo Mar 11, 2024
467ad62
Use the right cache policy
quanganhdo Mar 11, 2024
0aeae42
Update BSK
quanganhdo Mar 11, 2024
9db1597
Merge branch 'main' into anh/netp-subscription-clean-up
quanganhdo Mar 11, 2024
5b7af42
Update BSK
quanganhdo Mar 11, 2024
4126902
Fix Swiftlint
quanganhdo Mar 11, 2024
0921a6b
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 12, 2024
9933953
Add todos
quanganhdo Mar 12, 2024
be8b05f
Deprecate waitlist-related flow
quanganhdo Mar 12, 2024
b2dfcb6
Remove waitlist-related entry points
quanganhdo Mar 12, 2024
e6fecbe
More deprecations
quanganhdo Mar 12, 2024
925b808
Alerts
quanganhdo Mar 14, 2024
535e069
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 14, 2024
7e5a98b
Remove deprecations
quanganhdo Mar 14, 2024
e4e4188
Add feature visibility checks
quanganhdo Mar 15, 2024
f0c8475
Add test cases
quanganhdo Mar 15, 2024
d209ff6
Update BSK
quanganhdo Mar 15, 2024
371fa29
Update BSK
quanganhdo Mar 15, 2024
a9c6f03
Refactor
quanganhdo Mar 15, 2024
d8e0d07
Fix alert
quanganhdo Mar 15, 2024
f453adb
Update BSK
quanganhdo Mar 15, 2024
6e310f9
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 15, 2024
7190de4
Add missing check
quanganhdo Mar 15, 2024
cb9075e
Update Thank you messaging
quanganhdo Mar 15, 2024
c758f66
Add debug cell for visibility
quanganhdo Mar 15, 2024
fdd69d4
Add shouldShowVPNShortcut()
quanganhdo Mar 15, 2024
b9aaddb
Remove showPP() and update tests
quanganhdo Mar 15, 2024
16350cc
Minor refactoring
quanganhdo Mar 15, 2024
b35d9b8
Update BSK
quanganhdo Mar 15, 2024
c796604
Fix Swiftlint
quanganhdo Mar 15, 2024
89eb83c
Update tests
quanganhdo Mar 15, 2024
65ccc0e
Refactoring
quanganhdo Mar 18, 2024
7e8b16d
Update isSubscriptionEnabled param usage
quanganhdo Mar 18, 2024
bb9a272
Update Debug menu
quanganhdo Mar 18, 2024
1eda14c
Fix shortcutItems not refreshed
quanganhdo Mar 18, 2024
2711fec
Guard easter egg screen behind ALPHA || DEBUG
quanganhdo Mar 18, 2024
f334cbc
Start entitlement check inside tunnel based on whether subscription a…
quanganhdo Mar 18, 2024
47714a4
Revert "Start entitlement check inside tunnel based on whether subscr…
quanganhdo Mar 18, 2024
1f8b116
Sign out when overriding subscription to false
quanganhdo Mar 18, 2024
820f7c2
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 18, 2024
6e77d62
Update BSK
quanganhdo Mar 18, 2024
ff353b8
Revert ALPHA || DEBUG check for Invite screen
quanganhdo Mar 18, 2024
a8a6799
Remove waitlist-related flow inside Settings
quanganhdo Mar 18, 2024
fbdaf3a
Rename
quanganhdo Mar 18, 2024
1085883
Switch environments based on Debug setting
quanganhdo Mar 18, 2024
e9d528b
Update BSK
quanganhdo Mar 18, 2024
5051f74
Update BSK
quanganhdo Mar 18, 2024
a84b2fd
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 18, 2024
ff7ea22
Merge branch 'main' into anh/netp-pre-launch
quanganhdo Mar 18, 2024
b4daa7b
Remove duplicated detail
quanganhdo Mar 18, 2024
fa45e9c
Update server setting
quanganhdo Mar 19, 2024
9b40e2c
Fix selected environment being reset
quanganhdo Mar 19, 2024
c6054f1
Address PR comments
quanganhdo Mar 19, 2024
fcbeba7
Bypass Invite screen
quanganhdo Mar 19, 2024
5d0a5eb
Update BSK
quanganhdo Mar 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update server setting
quanganhdo committed Mar 19, 2024
commit fa45e9c98a3120aaa16e0410c1fcae53a185df7d
1 change: 1 addition & 0 deletions DuckDuckGo/NetworkProtectionDebugViewController.swift
Original file line number Diff line number Diff line change
@@ -681,6 +681,7 @@ shouldShowVPNShortcut: \(vpnVisibility.shouldShowVPNShortcut() ? "YES" : "NO")
} else {
vpnSettings.selectedEnvironment = .production
}
vpnSettings.selectedServer = .automatic
tableView.reloadData()
case .updateSubscriptionOverride:
let defaults = UserDefaults.networkProtectionGroupDefaults