You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Map iOS Native BeforeSend & OnCrashedLastEvent to SentryOptions.Native (#3958)
* Initial commit for exposing iOS native before send & crashed last run
* Initial feature set is working
* Format code
* Update CHANGELOG.md
* Merge signal abort code before user based BeforeSend
* Move native BeforeSend & OnCrashedLastRun events to SentryOptions - OnCrashedLastRun only available to IOS/MacCatalyst for now
* Always run NativeOptions.BeforeSend so sig aborts can be filtered
* Update SentrySdk.cs
* Update CHANGELOG.md
* Format code
* WIP - removing serialization mechanics as they cause a native crash due to SentryEnvelopeItem being deserialized instead of SentryEvent
* Transferring transformed sentryevent back to original native event instead of trying to remap the entire object
* Remove unnecessary hacks
* Format code
* Add missing bindable option for native iOS sentryoptions
* Update SentrySdk.cs
* Update SentrySdk.cs
* Update CHANGELOG.md
* Update CHANGELOG.md
* Unit tests mapping checks to/from native iOS
* Format code
* Update NativeSerializationTests.cs
* Revert "Add missing bindable option for native iOS sentryoptions"
This reverts commit bf4d33d.
* Remove iOS native event suppress configuration
* Update CHANGELOG.md
* Rename tests according to review
* add timestamp for deserialize test
* Account for fractions of seconds
* Platforms should not change
* Update CocoaExtensionsTests.cs
* Update CocoaExtensionsTests.cs
* Update CocoaExtensionsTests.cs
* Update CocoaExtensionsTests.cs
* Safety SentryLevel in both directions
* Update EnumExtensions.cs
* Format code
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
13
13
### Features
14
14
15
+
- Native iOS events are now exposed to the dotnet layer for users to hook through SentryOptions.BeforeSend and SentryOptions.OnCrashedLastRun ([#2102](https://github.com/getsentry/sentry-dotnet/pull/3958))
15
16
- Users can now register their own MAUI controls for breadcrumb creation ([#3997](https://github.com/getsentry/sentry-dotnet/pull/3997))
16
17
- Serilog scope properties are now sent with Sentry events ([#3976](https://github.com/getsentry/sentry-dotnet/pull/3976))
17
18
- The sample seed used for sampling decisions is now propagated, for use in downstream custom trace samplers ([#3951](https://github.com/getsentry/sentry-dotnet/pull/3951))
0 commit comments