From 343764cc1a15b9b71742e6d43ecde19a344ab379 Mon Sep 17 00:00:00 2001 From: Archish Date: Wed, 28 Oct 2026 18:15:06 +0530 Subject: [PATCH] chore: bump android-sdk to 3.2.2 android-sdk 3.2.2 stops otel-android instrumentation discovery when activity lifecycle monitoring is disabled. Before this, every Android launch produced an extra 'AppStart ... Paused' session with no replay alongside the real one. --- README.md | 2 +- android/build.gradle | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a0a8354..c77760e 100644 --- a/README.md +++ b/README.md @@ -219,7 +219,7 @@ const MiddlewareConfig: ReactNativeConfiguration = { Request bodies are never captured. -This package depends on **Android `android-sdk` 3.2.0+** and **iOS +This package depends on **Android `android-sdk` 3.2.2+** and **iOS `MiddlewareRum` 2.3.0+**. React Native's requests are traced by the JS instrumentation only: native URLSession tracing is turned off on iOS, so each request produces one span. As a result, requests made directly by native code diff --git a/android/build.gradle b/android/build.gradle index 23a7ed6..2ba9a21 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -83,7 +83,7 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // Stable native SDK (main branch). 3.1.0 adds startRecording/stopRecording/isRecording. - implementation 'io.github.middleware-labs:android-sdk:3.2.0' + implementation 'io.github.middleware-labs:android-sdk:3.2.2' coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4" // Compile-visible OTel for the JS-span reconstruction (SpanData etc.); // runtime classes come transitively from android-sdk. Keep aligned with diff --git a/package.json b/package.json index 90384ea..47fd3f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@middleware.io/middleware-react-native", - "version": "2.3.0", + "version": "2.3.1", "description": "Middleware React Native real user monitoring SDK", "main": "lib/commonjs/index", "module": "lib/module/index",