-
-
Notifications
You must be signed in to change notification settings - Fork 372
ref: Use SPI for SentryUserFeedbackIntegrationDriver #5516
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
Conversation
57b953f to
2f81fd7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5516 +/- ##
=============================================
+ Coverage 86.165% 86.245% +0.080%
=============================================
Files 403 404 +1
Lines 34905 34935 +30
Branches 14972 15160 +188
=============================================
+ Hits 30076 30130 +54
+ Misses 4786 4762 -24
Partials 43 43
... and 14 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 35c962f | 1207.61 ms | 1235.90 ms | 28.29 ms |
| d38165b | 1211.41 ms | 1242.49 ms | 31.08 ms |
| 5cfc768 | 1220.74 ms | 1245.06 ms | 24.32 ms |
| 8047b99 | 1226.37 ms | 1246.63 ms | 20.26 ms |
| b13e93a | 1236.24 ms | 1247.33 ms | 11.08 ms |
| db9572a | 1200.27 ms | 1234.80 ms | 34.53 ms |
| 8ea5293 | 1242.70 ms | 1262.25 ms | 19.55 ms |
| 018037b | 1209.31 ms | 1228.33 ms | 19.03 ms |
| f97a070 | 1218.88 ms | 1253.12 ms | 34.24 ms |
| acac774 | 1217.76 ms | 1253.29 ms | 35.52 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| 35c962f | 23.75 KiB | 854.77 KiB | 831.02 KiB |
| d38165b | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| 5cfc768 | 23.75 KiB | 850.73 KiB | 826.98 KiB |
| 8047b99 | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| b13e93a | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| db9572a | 23.75 KiB | 858.69 KiB | 834.93 KiB |
| 8ea5293 | 23.75 KiB | 852.24 KiB | 828.49 KiB |
| 018037b | 23.75 KiB | 867.16 KiB | 843.41 KiB |
| f97a070 | 23.75 KiB | 858.68 KiB | 834.93 KiB |
| acac774 | 23.75 KiB | 866.51 KiB | 842.76 KiB |
6fd14b1 to
6889315
Compare
philipphofmann
left a comment
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.
LGTM, when doing some manual test runs with the iOS-Swift sample app and validating that screenshots still work, because I don't think we have an e2e test coverage for the screenshots feature. Please post the URLs of the events, including some screenshots, to show that the feature still works.
be4c840 to
a6996ed
Compare
This makes SentryUserFeedbackIntegrationDriver's init public, another step towards #5371
This function used SentryScreenshot, which was internal in ObjC so couldn't be added to an SPI function. I converted it to Swift and marked it SPI so it could be used as a parameter to an SPI function
Checked this in the iOS-swift sample app by sending test feedback, the issue with associated screenshot is found here:
https://sentry-sdks.sentry.io/issues/2219152762/events/5b005262adcf449d9d0f26bda2af517d/?project=5428557&referrer=event-or-group-header
#skip-changelog