Skip to content

Commit

Permalink
chore(deps): update Android SDK to v7.15.0 (#2342)
Browse files Browse the repository at this point in the history
* chore: update flutter/scripts/update-android.sh to 7.15.0

* update errorSampleRate to onErrorSampleRate in android options

* update

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: GIancarlo Buenaflor <[email protected]>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent 6d50a9b commit c3fc461
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
- Bump Cocoa SDK from v8.36.0 to v8.37.0 ([#2334](https:/getsentry/sentry-dart/pull/2334))
- [changelog](https:/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8370)
- [diff](https:/getsentry/sentry-cocoa/compare/8.36.0...8.37.0)
- Bump Android SDK from v7.14.0 to v7.15.0 ([#2342](https:/getsentry/sentry-dart/pull/2342))
- [changelog](https:/getsentry/sentry-java/blob/main/CHANGELOG.md#7150)
- [diff](https:/getsentry/sentry-java/compare/7.14.0...7.15.0)

## 8.9.0

Expand Down
2 changes: 1 addition & 1 deletion flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ android {
}

dependencies {
api 'io.sentry:sentry-android:7.14.0'
api 'io.sentry:sentry-android:7.15.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

// Required -- JUnit 4 framework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class SentryFlutter(
data: Map<String, Any>,
) {
options.sessionSampleRate = data["sessionSampleRate"] as? Double
options.errorSampleRate = data["onErrorSampleRate"] as? Double
options.onErrorSampleRate = data["onErrorSampleRate"] as? Double
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class SentryFlutterTest {
assertEquals("0000", fixture.options.proxy?.pass)

assertEquals(0.5, fixture.options.experimental.sessionReplay.sessionSampleRate)
assertEquals(0.6, fixture.options.experimental.sessionReplay.errorSampleRate)
assertEquals(0.6, fixture.options.experimental.sessionReplay.onErrorSampleRate)

// Note: these are currently read-only in SentryReplayOptions so we're only asserting the default values here to
// know when there's a change in the native SDK, as it may require a manual change in the Flutter implementation.
Expand Down

0 comments on commit c3fc461

Please sign in to comment.