-
Notifications
You must be signed in to change notification settings - Fork 365
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
Remove settings only on app uninstall #6024
Remove settings only on app uninstall #6024
Conversation
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.
Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @rablador)
ios/MullvadVPN/AppDelegate.swift
line 507 at r1 (raw file):
self.accessMethodRepository.reloadWithDefaultsAfterDataRemoval() try? self.relayCacheTracker.refreshCachedRelays()
Why do we force a cache read here ? Or rather, what behaviour did we observe after removing settings that led to writing this line ?
4dccd01
to
efa37d6
Compare
efa37d6
to
11a2609
Compare
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.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @rablador)
ios/MullvadVPN/AppDelegate.swift
line 507 at r1 (raw file):
Previously, buggmagnet wrote…
Why do we force a cache read here ? Or rather, what behaviour did we observe after removing settings that led to writing this line ?
This was discussed offline
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.
Reviewed all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @rablador)
We should not remove any settings when a user logs out or explicitly deletes an account. Or rather, only app uninstall should trigger a removal of app settings.
This change is