From fca51abc301f55dfa99467b61c352f2a069498fc Mon Sep 17 00:00:00 2001 From: Chaman Date: Fri, 6 Nov 2026 16:48:58 +0530 Subject: [PATCH] Release v2.4.3 --- CHANGELOG.md | 10 ++++++++++ README.md | 2 ++ sample/dependencies.gradle.kts | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 915783b..84d1c98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.4.3 + +### Added +- Introduced a new abort recording API to discard the current session recording without uploading it. + +### Fixed +- Fixed ANRs on Android 10 and 11 caused by gesture detection during session recording. +- Fixed an issue with screenshot capture that could cause instability in session replays. +- Improved handling of low-memory conditions when saving screenshots during session recording. + ## 2.4.2 ### Added diff --git a/README.md b/README.md index 961b2f3..9fa6ba5 100644 --- a/README.md +++ b/README.md @@ -860,6 +860,7 @@ Here are the available methods to help you control the session recording feature |----------------------------------------|------------------------------------------------------------------------| |`DevRev.startRecording()` | Starts the session recording. | |`DevRev.stopRecording()` | Ends the session recording and uploads it to the portal. | + |`DevRev.abortRecording(autoStartOnNextLaunch = false)` | Ends the session recording and discards it without uploading. With `autoStartOnNextLaunch = true`, the next hot launch starts recording again. | |`DevRev.pauseRecording()` | Pauses the ongoing session recording. | |`DevRev.resumeRecording()` | Resumes a paused session recording. | |`DevRev.processAllOnDemandSessions()` | Stops the ongoing user recording and sends all on-demand sessions along with the current recording. | @@ -869,6 +870,7 @@ Here are the available methods to help you control the session recording feature |-----------------------------------------------------------------------------|------------------------------------------------------------------------| | `DevRevObservabilityExtKt.startRecording(DevRev.INSTANCE, context)` | Starts the session recording. | | `DevRevObservabilityExtKt.stopRecording(DevRev.INSTANCE)` | Ends the session recording and uploads it to the portal. | + | `DevRevObservabilityExtKt.abortRecording(DevRev.INSTANCE, autoStartOnNextLaunch)` | Ends the session recording and discards it without uploading. With `autoStartOnNextLaunch = true`, the next hot launch starts recording again. | | `DevRevObservabilityExtKt.pauseRecording(DevRev.INSTANCE)` | Pauses the ongoing session recording. | | `DevRevObservabilityExtKt.resumeRecording(DevRev.INSTANCE)` | Resumes a paused session recording. | | `DevRevObservabilityExtKt.processAllOnDemandSessions(DevRev.INSTANCE)` | Stops the ongoing user recording and sends all on-demand sessions along with the current recording. | diff --git a/sample/dependencies.gradle.kts b/sample/dependencies.gradle.kts index c939920..1473acd 100644 --- a/sample/dependencies.gradle.kts +++ b/sample/dependencies.gradle.kts @@ -1,4 +1,4 @@ -val sdk_version = "2.4.2" +val sdk_version = "2.4.3" extra["versions"] = mapOf( "androidx.core" to "androidx.core:core-ktx:1.9.0",