Requested by: @bitsandfoxes
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
- Introduce
sentry-native as an experimental backend on macOS and Windows. Opt in via options.Experimental.MacosBackend = MacosBackend.Native or options.Experimental.WindowsBackend = WindowsBackend.Native. The sentry-native backend uploads crashes immediately and enables further updates such as AppHangTracking support (#2687, #2692)
Fixes
- The SDK now uses Gradle's built-in Exec task type when setting up the automated debug symbol upload. This resolves builds failing when targeting Android on Unity 6.4 (#2686)
- When targeting iOS, the SDK no longer crashes in
urlSessionTask:setState: when handling an AVAssetDownloadTask (#2677)
Features
- Added
EnableAppHangTracking (default true) and AppHangTimeout (default 5s) to enable app hang detection via the native SDK. Currently effective on iOS through sentry-cocoa, which monitors the main thread and produces a stack trace for the hang event. On other platforms this is a no-op until each platform's native hang detection lands. When enabled on iOS, the Unity SDK's C# watchdog is skipped to avoid duplicate reports (#2679)
- Added
AndroidNativeAnrEnabled (default true) to enable ANR detection through the sentry-java SDK. The native ANR integration monitors the Android UI thread. On API ≥ 30 this uses ANR v2 via ApplicationExitInfo to report OS-detected ANRs from prior runs; on API < 30 it falls back to an in-process watchdog. This is complementary to the Unity SDK's C# watchdog, which monitors the Unity player loop. (#2671)
Dependencies
Requested by: @bitsandfoxes
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
sentry-nativeas an experimental backend on macOS and Windows. Opt in viaoptions.Experimental.MacosBackend = MacosBackend.Nativeoroptions.Experimental.WindowsBackend = WindowsBackend.Native. Thesentry-nativebackend uploads crashes immediately and enables further updates such asAppHangTrackingsupport (#2687, #2692)Fixes
urlSessionTask:setState:when handling anAVAssetDownloadTask(#2677)Features
EnableAppHangTracking(defaulttrue) andAppHangTimeout(default5s) to enable app hang detection via the native SDK. Currently effective on iOS throughsentry-cocoa, which monitors the main thread and produces a stack trace for the hang event. On other platforms this is a no-op until each platform's native hang detection lands. When enabled on iOS, the Unity SDK's C# watchdog is skipped to avoid duplicate reports (#2679)AndroidNativeAnrEnabled(defaulttrue) to enable ANR detection through thesentry-javaSDK. The native ANR integration monitors the Android UI thread. On API ≥ 30 this uses ANR v2 viaApplicationExitInfoto report OS-detected ANRs from prior runs; on API < 30 it falls back to an in-process watchdog. This is complementary to the Unity SDK's C# watchdog, which monitors the Unity player loop. (#2671)Dependencies