Skip to content

4.4.0

Latest

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 05 Jun 08:15

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