-
Notifications
You must be signed in to change notification settings - Fork 427
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
Add support for uploading crash reports to Sentry #2720
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
7373015
Use local BSK
miasma13 ab472f2
Show prompt asking for crash collection sending
miasma13 daa1d4a
Use BSK from a branch
ayoy 1777865
Add user defaults flag to control sending crash logs
ayoy eaf2b96
Update to non-static CrashCollection
ayoy 79c9050
Update BSK
ayoy 674b8f8
Add CrashCollectionOnboarding
ayoy 0401682
Update BSK ref
ayoy ea78465
Update CrashCollectionOnboardingView according to the newest design
ayoy d441f6e
Merge branch 'main' into dominik/sentry-appstore
ayoy 4084eb0
Improve UX of the crash report dialog
ayoy c4407f1
Upload debug symbols to S3 from the release workflow
ayoy 4fc3d7b
Merge branch 'main' into dominik/sentry-appstore
ayoy 5ae0724
Add placeholder crash reports cell to new Settings
ayoy c988728
Fix UI glitching when displaying crash report contents and make the d…
ayoy 5dfd1a4
Update Breakage image
ayoy b28e035
Move crash reports setting in New Settings to About section
ayoy d8fef3d
Always show crash reporting dialog in portait mode on iPhone
ayoy b43a468
Merge branch 'main' into dominik/sentry-appstore
ayoy 6885adc
Fix SwiftLint
ayoy 6f792d6
Replace sendCrashLogs with crashCollectionOptInStatus enum
ayoy 88168d1
Update colors in the crash report dialog
ayoy bc14bae
Update background colors
ayoy 3d41553
Merge branch 'main' into dominik/sentry-appstore
ayoy 686b1dc
Move crash collection tests to BSK
ayoy a802ec7
Add documentation for crash reporting related code
ayoy 11eb50f
Fix SwiftLint issues
ayoy 4c8bd74
Update BSK ref
ayoy 35950d3
Use different explanation copy for new settings
ayoy 2078d09
Update old settings cell
ayoy 7c22b1a
Add dedicated chevron icon for the See What's Sent button
ayoy 053bf2c
Don't animate show/hide button
ayoy a414226
Use decorative image
ayoy 298146e
Merge branch 'main' into dominik/sentry-appstore
ayoy ea56423
Update app settings when crash collection opt in status is toggled
ayoy ecdf684
Allow to skip crash onboarding dialog with a swipe gesture
ayoy 28f3320
Update copy
ayoy 366412c
Update localizations
ayoy c4d74a4
Merge branch 'main' into dominik/sentry-appstore
ayoy ec37502
Use BSK 137.0.0
ayoy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Binary file modified
BIN
-462 Bytes
(97%)
DuckDuckGo/Assets.xcassets/Breakage-128.imageset/Breakage-128.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
DuckDuckGo/Assets.xcassets/ChevronDown.imageset/Chevron-Small-Down-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
DuckDuckGo/Assets.xcassets/ChevronDown.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Chevron-Small-Down-16.svg", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
DuckDuckGo/Assets.xcassets/ChevronUp.imageset/Chevron-Small-Up-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
DuckDuckGo/Assets.xcassets/ChevronUp.imageset/Contents.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Chevron-Small-Up-16.svg", | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
}, | ||
"properties" : { | ||
"template-rendering-intent" : "template" | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Previously the callback was called for every crash report found. Now we have a single callback that can contain multiple crash reports. We still send pixels for all crash reports, and we present onboarding for Sentry as needed using the most recent crash report (this is the same behavior as on macOS for both DMG and App Store builds).