-
-
Notifications
You must be signed in to change notification settings - Fork 372
Remove app extension only flag #5524
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5524 +/- ##
=============================================
+ Coverage 86.207% 86.220% +0.012%
=============================================
Files 407 407
Lines 35034 35030 -4
Branches 15018 15003 -15
=============================================
+ Hits 30202 30203 +1
+ Misses 4791 4786 -5
Partials 41 41 see 10 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 |
|---|---|---|---|
| d38165b | 1211.41 ms | 1242.49 ms | 31.08 ms |
| db9572a | 1200.27 ms | 1234.80 ms | 34.53 ms |
| 8047b99 | 1226.37 ms | 1246.63 ms | 20.26 ms |
| acac774 | 1217.76 ms | 1253.29 ms | 35.52 ms |
| db9572a | 1212.61 ms | 1237.73 ms | 25.13 ms |
| 2609f7a | 1218.17 ms | 1241.34 ms | 23.17 ms |
| b13e93a | 1236.24 ms | 1247.33 ms | 11.08 ms |
| b0e13a7 | 1227.71 ms | 1245.88 ms | 18.16 ms |
| 8ea5293 | 1242.70 ms | 1262.25 ms | 19.55 ms |
| 35c962f | 1207.61 ms | 1235.90 ms | 28.29 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| d38165b | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| db9572a | 23.75 KiB | 858.69 KiB | 834.93 KiB |
| 8047b99 | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| acac774 | 23.75 KiB | 866.51 KiB | 842.76 KiB |
| db9572a | 23.75 KiB | 858.65 KiB | 834.90 KiB |
| 2609f7a | 23.75 KiB | 867.04 KiB | 843.29 KiB |
| b13e93a | 23.75 KiB | 855.37 KiB | 831.62 KiB |
| b0e13a7 | 23.75 KiB | 860.98 KiB | 837.23 KiB |
| 8ea5293 | 23.75 KiB | 852.24 KiB | 828.49 KiB |
| 35c962f | 23.75 KiB | 854.77 KiB | 831.02 KiB |
cef4f34 to
a80709c
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.
I think this deserves a changelog entry. As the SDK won't throw an error anymore if you set APPLICATION_EXTENSION_API_ONLY_NO in SentryDefines.h
Apart from that LGTM, thank you @noahsmartin
armcknight
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.
Thank you for pushing this work forward, can't wait until this is behind us!
30f13a2 to
ebc84de
Compare
This reverts commit 5ec90e0.
This reverts commit 5ec90e0.
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR *Tell us what you're changing and why. If your PR **resolves an issue**, please link it so it closes automatically.* * This is a follow up to getsentry/sentry-react-native#5099 and getsentry/sentry-react-native#5222 adding the suggested solution to the doc * After the removal of the `APPLICATION_EXTENSION_API_ONLY` with getsentry/sentry-cocoa#5524 in [Cocoa 8.53.2](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8532) / [RN 6.18](https://github.com/getsentry/sentry-react-native/blob/main/CHANGELOG.md#6180) the `Unknown receiver` error should not occur (added the version in parentheses for now instead of removing). ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [ ] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
Removes the
APPLICATION_EXTENSION_API_ONLYflag which is not required anymore. Fixes #5371The public API json file did change, because it removed
SentryRRWebEventTypeWhenAPPLICATION_EXTENSION_API_ONLY=YESwas set, any @objc enum became part of this file, however I confirmed that this type was not in the swiftinterface file, so it isn't actually a breaking public API change.We did have one test app that was relying on setting the font of
SentryUserFeedbackThemeConfigurationin objc, even though this was an internal property and not accessible to Swift. It was only accessible to objc as a side effect ofAPPLICATION_EXTENSION_API_ONLY=YESso now that we are not leaking internal swift types to objc it cannot be used in the test app.#skip-changelog