github getsentry/sentry-android-gradle-plugin 4.10.0

latest releases: 4.13.0, 4.12.0, 4.11.0...
4 months ago

Features

  • Session Replay Public Beta (#3339)

    The Gradle plugin pulls in the io.sentry:sentry-android:7.12.0 dependency and enables Session Replay through it. To enable Replay use the sessionReplay.sessionSampleRate or sessionReplay.errorSampleRate experimental options.

    import io.sentry.SentryReplayOptions
    import io.sentry.android.core.SentryAndroid
    
    SentryAndroid.init(context) { options ->
     
      // Currently under experimental options:
      options.experimental.sessionReplay.sessionSampleRate = 1.0 // We suggest 0.1 in production (10% sessions sampled)
      options.experimental.sessionReplay.errorSampleRate = 1.0
    
      // To change default redaction behavior (defaults to true)
      options.experimental.sessionReplay.redactAllImages = true
      options.experimental.sessionReplay.redactAllText = true
    
      // To change quality of the recording (defaults to MEDIUM)
      options.experimental.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
    }

    To learn more visit Sentry's Mobile Session Replay documentation page.

Fixes

  • Only apply Jetpack Compose instrumentation if Modifier class is available (#727)

Dependencies

Don't miss a new sentry-android-gradle-plugin release

NewReleases is sending notifications on new releases.