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

NetP now clears the auth token in the extension + small bug fix. #1975

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

diegoreymendez
Copy link
Contributor

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

BSK PR: duckduckgo/BrowserServicesKit#491
macOS PR: duckduckgo/macos-browser#1588

Description

Integrates some changes from BSK that make NetP now clear the auth token in the extension when resetAllState is called.
Also fixes a small bugfix with a callback not being called when it should.

Testing

Just make sure this builds and NetP connects fine. There should really be no visible effect in using this for iOS.


Internal references:

Software Engineering Expectations
Technical Design Template

Copy link
Contributor

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

diegoreymendez added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Sep 5, 2023
…a small bug with a callback (#491)

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

iOS PR: duckduckgo/iOS#1975
macOS PR: duckduckgo/macos-browser#1588
What kind of version bump will this require?: Patch

## Description

When the extension receives a `resetAllState` message, it's now properly cleaning the stored auth token.
Executes a callback that was missing.
@diegoreymendez diegoreymendez merged commit bd1995e into develop Sep 5, 2023
@diegoreymendez diegoreymendez deleted the diego/disable-netp-when-waitlist-is-over branch September 5, 2023 20:51
diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Sep 5, 2023
Task/Issue URL: https://app.asana.com/0/0/1205416442924461/f

BSK PR: duckduckgo/BrowserServicesKit#491
iOS PR: duckduckgo/iOS#1975

## Description

Disables NetP when the waitlist is over.

Known limitation: we're not disabling NetP if the user interacts with
the menu agent. This is something to discuss separately.
samsymons pushed a commit to duckduckgo/macos-browser that referenced this pull request Sep 8, 2023
Task/Issue URL: https://app.asana.com/0/0/1205416442924461/f

BSK PR: duckduckgo/BrowserServicesKit#491
iOS PR: duckduckgo/iOS#1975

## Description

Disables NetP when the waitlist is over.

Known limitation: we're not disabling NetP if the user interacts with
the menu agent. This is something to discuss separately.
# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	LocalPackages/DataBrokerProtection/Package.swift
#	LocalPackages/NetworkProtectionUI/Package.swift
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.

2 participants