Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Oct 17, 2024
1 parent 61b6664 commit 6b34286
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ internal fun SentryOptions.toIosOptionsConfiguration(): (CocoaSentryOptions?) ->
"errorSampleRate" to kmpOptions.experimental.sessionReplay.onErrorSampleRate?.toFloat()
)
).apply {
setRedactAllText(kmpOptions.experimental.sessionReplay.maskAllText)
setRedactAllImages(kmpOptions.experimental.sessionReplay.maskAllImages)
setMaskAllText(kmpOptions.experimental.sessionReplay.maskAllText)
setMaskAllImages(kmpOptions.experimental.sessionReplay.maskAllImages)
kmpOptions.experimental.sessionReplay.sessionSampleRate?.let { setSessionSampleRate(it.toFloat()) }
setQuality(kmpOptions.experimental.sessionReplay.quality.ordinal.toLong())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ actual fun ApplePlatformOptions.assertApplePlatformSpecificOptions(options: Sent
assertEquals(attachViewHierarchy, options.attachViewHierarchy)
assertEquals(enableAppHangTracking, options.enableAppHangTracking)
assertEquals(appHangTimeoutIntervalMillis, options.appHangTimeoutIntervalMillis)
assertEquals(sessionReplay.redactAllText(), options.experimental.sessionReplay.maskAllText)
assertEquals(sessionReplay.redactAllImages(), options.experimental.sessionReplay.maskAllImages)
assertEquals(sessionReplay.maskAllText(), options.experimental.sessionReplay.maskAllText)
assertEquals(sessionReplay.maskAllImages(), options.experimental.sessionReplay.maskAllImages)
assertEquals(sessionReplay.onErrorSampleRate().toDouble(), options.experimental.sessionReplay.onErrorSampleRate)
assertEquals(sessionReplay.sessionSampleRate().toDouble(), options.experimental.sessionReplay.sessionSampleRate)
assertEquals(sessionReplay.quality(), options.experimental.sessionReplay.quality.ordinal.toLong())
Expand Down

0 comments on commit 6b34286

Please sign in to comment.