-
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
Alert user about abnormal app conditions #2110
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brindy
approved these changes
Oct 30, 2023
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.
one minor comment, swiftlint and a conflict to fix, but otherwise LGTM
parameters[PixelParameters.emailKeychainKeychainStatus] = String(status) | ||
parameters[PixelParameters.emailKeychainKeychainOperation] = "save" | ||
} | ||
|
||
// https://app.asana.com/0/414709148257752/1205196846001239/f | ||
if errorCode == -25291 { |
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.
please use the constant here: errSecNotAvailable
jaceklyp
added a commit
to duckduckgo/BrowserServicesKit
that referenced
this pull request
Nov 4, 2023
Task/Issue URL: https://app.asana.com/0/72649045549333/1204420573063618/f iOS PR: duckduckgo/iOS#2110 What kind of version bump will this require?: Patch Description: Introduce better handling of critical errors and adjust some EmailManager code to handle errors within.
samsymons
added a commit
that referenced
this pull request
Nov 5, 2023
* develop: Alert user about abnormal app conditions (#2110) Add e2e test for email protection deep-links (#2123) Update to config v4 (#2114) Release 7.95.0 (#2122) Add toggling of NetP Notifications to iOS (#2112) Fix for deeplink crash when preparing webview preview (#2116) Integrates the latest DBP changes in BSK (#2108) Switch to next phase of new experiment for UA (#2118)
samsymons
added a commit
that referenced
this pull request
Nov 8, 2023
* develop: re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) Add e2e test for email protection deep-links (#2123) Update to config v4 (#2114) Release 7.95.0 (#2122) Add toggling of NetP Notifications to iOS (#2112) Fix for deeplink crash when preparing webview preview (#2116) Integrates the latest DBP changes in BSK (#2108) Switch to next phase of new experiment for UA (#2118)
samsymons
added a commit
that referenced
this pull request
Nov 9, 2023
# By Christopher Brind (3) and others # Via GitHub (1) and Michal Smaga (1) * develop: Support environment setting (#2140) Update BSK (#2136) Update BSK for NetP change (#2134) Update test to match exact tracker (#2133) Avoid AppTP DB initialization when disabled (#2090) re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) # Conflicts: # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons
added a commit
that referenced
this pull request
Nov 10, 2023
* develop: Support environment setting (#2140) Update BSK (#2136) Update BSK for NetP change (#2134) Update test to match exact tracker (#2133) Avoid AppTP DB initialization when disabled (#2090) re-enable keyboard shortcuts (#2132) fix favorite launch with keyboard bug (#2131) Fix syncing empty favorites folders (#2121) kill variant when receiving atb update (#2130) Adding 'protectionsState' to breakage form submission (#2120) Release 7.96.0 (#2128) Update remote messaging production url (#2124) Alert user about abnormal app conditions (#2110) Add e2e test for email protection deep-links (#2123) Update to config v4 (#2114)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/72649045549333/1204420573063618/f
Description:
Gracefully handle unrecoverable:
Steps to test this PR:
Force usage of embedded tds (disable the part where we download tds from remote)
Remove parts of the embedded tds.json so it is no longer parsable.
Simulate insufficient disk space by setting shouldPresentInsufficientDiskSpaceAlertAndCrash to true
Simulate keychain error by placing the following code anywhere in the app: EmailManager().forceSignOut()
Copy Testing:
’
rather than'
Theme Testing: