github getsentry/sentry-react-native 6.2.0

12 hours ago

Features

  • Enables Spotlight in Android and iOS SDKs (#4211)

  • Add env flag SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD to allow disabling the debug file upload (#4223)

    How to use in Android project? It works by default, just set export SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD=true in your build environment. For Sentry Android Gradle Plugin add the following to your android/app/build.gradle.

    apply from: "../../../sentry.gradle"
    
    sentry {
        autoUploadProguardMapping = shouldSentryAutoUpload()
        uploadNativeSymbols = shouldSentryAutoUpload()
    }

    How to use in Xcode? Make sure you are using scripts/sentry-xcode.sh and scripts/sentry-xcode-debug-files.sh in your
    build phases. And add the following to your ios/.xcode.env.local file.

    export SENTRY_DISABLE_NATIVE_DEBUG_UPLOAD=true

Fixes

  • Ignore JavascriptException to filter out obfuscated duplicate JS Errors on Android (#4232)
  • Skips ignoring require cycle logs for RN 0.70 or newer (#4214)
  • Enhanced accuracy of time-to-display spans. (#4189)
  • Fix Replay redacting of RN Classes on iOS (#4243)
  • Speed up getBinaryImages for finishing transactions and capturing events (#4194)
  • Remove duplicate HTTP Client Errors on iOS (#4250)
  • Replay maskAll* set to false on iOS kept all masked (#4257)
  • Add missing getRootSpan, withActiveSpan and suppressTracing exports from @sentry/core, and SeverityLevel export from @sentry/types (#4254, #4260)

Dependencies

Don't miss a new sentry-react-native release

NewReleases is sending notifications on new releases.