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

Fix network protection controller leak #3366

Conversation

bwaresiak
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/414709148257752/1208331423616717/f
Tech Design URL:
CC:

Description:

Fix network protection controller leak

Steps to test this PR:

  1. Open app in Instruments allocation tool.
  2. Ensure there is only one instance of Network Controller.

Definition of Done (Internal Only):


Internal references:

Software Engineering Expectations
Technical Design Template

dus7 and others added 12 commits September 17, 2024 15:12
Task/Issue URL:
https://app.asana.com/0/72649045549333/1208273840160821/f
Tech Design URL:
CC:

**Description**:

Extract NTP data persistence into smaller protocols and use
`UserDefaultsWrapper` to implement the actual storing. The change allows
for better separation of concerns and potentially storing data in a
different way on a case-by-case basis.

**Steps to test this PR**:
1. Verify NTP sections and shortcuts settings (order, enabled state) are
preserved across app instances.
2. Verify intro message is dismissed after 3 views (it can be set up
from Debug menu).

**Definition of Done (Internal Only)**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
<!--
Note: This checklist is a reminder of our shared engineering
expectations. Feel free to change it, although assigning a GitHub
reviewer and the items in bold are required.

⚠️ If you're an external contributor, please file an issue first before
working on a PR, as we can't guarantee that we will accept your changes
if they haven't been discussed ahead of time. Thanks!
-->

Task/Issue URL:
https://app.asana.com/0/1203581873609357/1207165680693234/f
Tech Design URL:
CC:

**Description**:

<!--
If at any point it isn't actively being worked on/ready for
review/otherwise moving forward strongly consider closing it (or not
opening it in the first place). If you decide not to close it, use Draft
PR while work is still in progress or use `DO NOT MERGE` label to
clarify the PRs state and comment with more information.
-->

**Steps to test this PR**:
1. See duckduckgo/BrowserServicesKit#947
2.

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**Definition of Done (Internal Only)**:

* [ ] Does this PR satisfy our [Definition of
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?

**Copy Testing**:

* [ ] Use of correct apostrophes in new copy, ie `’` rather than `'`

**Orientation Testing**:

* [ ] Portrait
* [ ] Landscape

**Device Testing**:

* [ ] iPhone SE (1st Gen)
* [ ] iPhone 8
* [ ] iPhone X
* [ ] iPhone 14 Pro
* [ ] iPad

**OS Testing**:

* [ ] iOS 15
* [ ] iOS 16
* [ ] iOS 17

**Theme Testing**:

* [ ] Light theme
* [ ] Dark theme

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
Task/Issue URL:
https://app.asana.com/0/1200019156869587/1207743313459997/f

**Description**:
Client side iOS Subscription feature tests.
@bwaresiak bwaresiak changed the base branch from main to release/7.138.0-1 September 18, 2024 09:17
@bwaresiak bwaresiak closed this Sep 18, 2024
@brindy brindy deleted the brindy/fix-network-protection-controller-leak branch November 22, 2024 19:01
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.

6 participants