Skip to content

chore(deps): update Android SDK to v7.20.0 #4411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 3, 2025

Bumps scripts/update-android.sh from 7.19.1 to 7.20.0.

Auto-generated by a dependency updater.

Changelog

7.20.0

Features

  • Session Replay GA (#4017)

To enable Replay use the sessionReplay.sessionSampleRate or sessionReplay.onErrorSampleRate options.

import io.sentry.SentryReplayOptions
import io.sentry.android.core.SentryAndroid

SentryAndroid.init(context) { options ->
 
  options.sessionReplay.sessionSampleRate = 1.0
  options.sessionReplay.onErrorSampleRate = 1.0

  // To change default redaction behavior (defaults to true)
  options.sessionReplay.redactAllImages = true
  options.sessionReplay.redactAllText = true

  // To change quality of the recording (defaults to MEDIUM)
  options.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
}

Fixes

  • Fix warm start detection (#3937)
  • Session Replay: Reduce memory allocations, disk space consumption, and payload size (#4016)
  • Session Replay: Do not try to encode corrupted frames multiple times (#4016)

Internal

  • Session Replay: Allow overriding SdkVersion for replay events (#4014)
  • Session Replay: Send replay options as tags (#4015)

Breaking changes

  • Session Replay options were moved from under experimental to the main options object (#4017)

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jan 3, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 8b6f5e9 to a95f08a Compare January 3, 2025 03:06
@romtsn romtsn changed the base branch from main to kw/update-replay-for-ga January 3, 2025 10:27
@romtsn romtsn merged commit fa5944d into kw/update-replay-for-ga Jan 3, 2025
38 of 54 checks passed
@romtsn romtsn deleted the deps/scripts/update-android.sh branch January 3, 2025 10:52
antonis added a commit that referenced this pull request Jan 3, 2025
* feat: Session Replay is GA

* update cocoa tests

* fix changelog pr num

* add js tests

* Update packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests/RNSentryReplayOptionsTests.swift

Co-authored-by: Antonis Lilis <[email protected]>

* chore(deps): update Android SDK to v7.20.0 (#4411)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Roman Zavarnitsyn <[email protected]>

* chore(deps): update Cocoa SDK to v8.43.0 (#4410)

Co-authored-by: GitHub <[email protected]>
Co-authored-by: Roman Zavarnitsyn <[email protected]>

* Set SdkVersion to react native for replay events on Android

* Use new options in samples

* Fixes testMaskAllVectors failing test

---------

Co-authored-by: Bruno Garcia <[email protected]>
Co-authored-by: Antonis Lilis <[email protected]>
Co-authored-by: Roman Zavarnitsyn <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants