Mobile SDK Changelog

1.33.1 (2024-03-25)

  • [iOS] Ensure hidden UIWindows are not captured

1.33.0 (2024-03-13)

Minimum Self-Hosted Release 17.559.0

  • [React-Native] Updated @expo/config-plugins to ^7.8.4
  • [Android] Add namespace to gradle for Android Gradle Plugin 7 and above - resolves an issue with AGP 8.x before using React Native 0.73.

1.32.2 (2024-03-05)

1.32.1 (2024-02-29)

  • [iOS] Handle incomplete Conditional Recording duration trigger with an empty duration that could crash the SDK. We will be following up with validations to ensure invalid Conditional Recording rules cannot be saved in the dashboard.
  • [iOS] Add a couple missing header exports to LogRocket.h umbrella header.

1.32.0 (2024-02-27)

Minimum Self-Hosted Release 17.528.0

  • [All] Updates the behavior of getSessionURL to continue tracking the provided callback parameter. The provided callback will now automatically be run each time a new session is started. The callback is cleared by a hardShutdown.
  • [All] Fix a bug which could allow a "Time Between Events" Non-Retroactive Filter to be triggered by a single event.
  • [React Native] Improve parsing of raw stack trace frames for symbolication

1.31.2 (2024-02-13)

  • [React Native] Allow disabling of our iOS scroll delegate injection by setting Configuration param disableScrollDelegate: true during initialization. This configuration is required for apps using RXCocoa or SerialIO libraries to be compatible with LogRocket.

1.31.1 (2024-02-09)

  • [iOS] Prevent crashes that could occur in rare scenarios where event JSON encoding fails, or when persistent batch file writing fails.

1.31.0 (2024-02-07)

  • [All] Groundwork changes for expanded mobile issue support coming soon

1.30.3 (2024-02-05)

  • [All] Resolve an issue that would cause the SDK to record views even after calling pauseViewCapture()

1.30.2 (2024-02-02)

  • [iOS] Detect and capture crashes from C++ Exceptions

1.30.1 (2024-01-31)

  • [iOS] Capture stack traces for crashes caused by Mach exceptions

1.30.0 (2024-01-26)

Minimum Self-Hosted Release 17.455.0

  • [All] Adds captureRedactedViewTouches config option to support redacting touch events on redacted elements by setting configuration option captureRedactedViewTouches: false.
  • [iOS] Fixes a bug in App Start Timing performance metric capture. Prevents capturing timestamps from a previous app start in some Warm Start scenarios.

1.29.0 (2024-01-23)

Minimum Self-Hosted Release 17.447.0

  • [iOS] Report crashes caused by Mach kernel exceptions

1.28.0 (2024-01-17)

Minimum Self-Hosted Release 17.432.0

  • [iOS] Added a configuration to disable the network throughput tracking system.
  • [iOS] Resolved an issue with redacting certain text views in SwiftUI.
  • [All] In rare scenarios internal data buffers could become corrupted and cause the current SDK instance to become "stuck". A new system has been added to detect this scenario and fully reset the SDK to allow continued recording.

1.27.4 (2024-01-08)

  • [Android] Resolve potential crash present for React Native apps targeting Android v14+. Adds a missing Receiver Export flag argument that was made required in this Android API release.

1.27.3 (2023-12-22)

  • [Both] When a new session is started due to inactivity, the SDK will now persist user traits (names, email address, etc.) to the second session without needing an additional call to .identify().

1.27.2 (2023-12-20)

  • [iOS] Prevent some identify calls from breaking session replay, introduced in 1.12.5.

1.27.1 (2023-12-18)

  • [iOS] Improve stability of WebView recording in mobile sessions

1.27.0 (2023-12-14)

Minimum Self-Hosted Release 17.372.0

  • [iOS] Fix an issue with some views appearing in the incorrect location in replay, which was introduced in 1.26.6.
  • [iOS] Minor performance and stability enhancements when capturing images.

1.26.7 (2023-12-01)

  • [iOS & React Native] Prevent a crash from dispatch_sync that can occur in our Uploader when handling file system errors, introduced in version 1.26.2.

1.26.6 (2023-11-29)

This version contains a known crash. Please upgrade to at least 1.26.7.

  • [iOS] Improve capture fidelity for various view types, including native menus and date pickers
  • [Android] Supports capturing WebViews inside of JetpackCompose components

1.26.5 (2023-11-27)

This version contains a known crash. Please upgrade to at least 1.26.7.

  • [iOS] Prevent a crash that can occur when shutdown or startNewSession are called from the Main UI thread, introduced in version 1.26.2.
  • [iOS] Prevent a non-crashing error that can occur on shutdown or startNewSession of sessions that include a WebView, introduced in 1.18.0.

1.26.4 (2023-11-20)

This version contains a known crash. Please upgrade to at least 1.26.7.

  • [iOS] The iOS SDK will now exclude image sources 10MB or larger from image capture in order to prevent performance impact
  • [Android] Bugfix to prevent internal SDK errors in Jetpack Compose view capture from impacting the render state of redacted elements
  • [All] Capture more information from device crashes, including stack traces (note that mobile SDKs must be updated to at least this version to show full crash logs in session replay)

1.26.3 (2023-11-16)

This version contains a known crash. Please upgrade to at least 1.26.7.

  • [React Native] calling startNewSession() without parameters will now start a new session using the previously provided appID and configuration parameters.

1.26.2 (2023-11-03)

This version contains a known crash. Please upgrade to at least 1.26.7.

  • [iOS] Respect z-index when capturing multiple root-level subviews of a single window, to resolve an issue where views could appear incorrectly layered in replay.
  • [iOS] Improved SDK shutdown behavior internally to guarantee consistent behavior.

1.26.1 (2023-10-30)

  • [iOS] Improve accuracy of SwiftUI redaction and class tagging for views contained in collections. This fixes a bug where some SwiftUI views with .lrHide() would not get redacted.
  • [iOS] Make Request and Response classes public to support unit testing custom sanitizers.

1.26.0 (2023-10-27)

Minimum Self-Hosted Release 17.252.0

  • [React Native] Adds new startNewSession function calls to the SDK. These calls enable you to end the current session and immediately start a new session.
    • For more info please refer to our documentation here

1.25.1 (2023-10-25)

  • [iOS] Prevent a crash on iOS 17 during view capture of WebAVPlayerLayerViews

1.25.0 (2023-10-18)

Minimum Self-Hosted Release 17.227.0

  • [iOS] Adds captureException functions for capturing Error and Exception information in LogRocket sessions. Exception messages and stack frames will be visible in the Developer Logs in session replay. Full captureException documentation.
  • [Android] Provide necessary consumer-rules.pro rules to capture Jetpack Compose elements in Proguard minified applications. You will need to use at least this version of the Android SDK if your app uses both Jetpack Compose and Proguard minification.

1.24.3 (2023-10-16)

  • [iOS] Adds new startNewSession function calls to the SDK. These calls enable you to end the current session and immediately start a new session.
    • NOTE: startNewSession will run asynchronously and allow you to pass in a (handler: ((Bool) -> Void)? = nil) completion handler closure that can be used to run code after the current session is ended and the new one has started. However, if you choose to wait on startNewSession or call other functions that end sessions but do not run asynchronously such as shutdown(), endSession(), or hardShutdown() ensure you are not calling it in the main UI thread so that rendering is not blocked.
    • For more info please refer to our documentation on startNewSession

1.24.2 (2023-10-12)

  • [iOS] Resolved a potential crash with CGColor handling

1.24.1 (2023-10-05)

  • [Android] Resolved an issue with failing to close certain file handles internally.

1.24.0 (2023-10-03)

Minimum Self-Hosted Release 17.184.0

  • [Android] Prevent unnecessary Jetpack Compose warning in Android React Native session logs.
  • [iOS] Allow disabling of our scroll delegate injection by setting Configuration param disableScrollDelegate: true during initialization. This configuration is required for apps using RXCocoa or SerialIO libraries to be compatible with LogRocket.
  • [React Native] Update @expo/config-plugins dependency to 7.2.5, allowing apps to target newer SDKs.
  • [All] Increase the number of of supported custom event properties from 500 to 2000
  • [All] Update ingestion servers to https://r.lr-intake.com/i. To continue using the previous ingestion endpoint set the serverURL configuration option to https://r.ingest-lr.com/i.

1.23.0 (2023-09-28)

  • Minimum Self-Hosted Release 17.172.0
  • [Android] Fixes a memory usage bug in Jetpack Compose processing introduced in version 1.19.0. We recommend updating to this version if your app uses Jetpack Compose.
  • [Android] Adds new startNewSession function calls to the SDK. These calls enable you to end the current session and immediately start a new session. If you are currently calling SDK.shutdown, ensure that this is happening off the main UI thread so that rendering is not blocked.
    • NOTE: startNewSession will run asynchronously and return a Future<Boolean> value that can optionally be used to block until the current session has ended and the new one has started. However, if you choose to wait on startNewSession or call other functions that end sessions but do not run asynchronously such as shutdown(), endSession()or hardShutdown() please ensure you are not calling it in the main UI thread so that rendering is not blocked.
    • For more info please refer to our documentation on startNewSession and ending sessions.
  • [Both] Capture more formats of React Native stack trace frames in order to display more complete stack traces in Issues and Session Replay error logs.

1.22.0 (2023-09-13)

  • Minimum Self-Hosted Release 17.132.0
  • [Android] Restore support for Android API version 21 (Android 5 Lollipop) to prevent build failures in Expo apps

1.21.1 (2023-09-12)

  • [iOS] Ensure consistent page visit tracking with iOS 17
  • [Android] Improve nine-patch image rendering in session replay

1.21.0 (2023-09-07)

  • Minimum Self-Hosted Release 17.114.0
  • [Android] Add API 34 (Android 14 Upside Down Cake) support
  • [Android] Update minimum supported Android version to API 24 (Android 7 Nougat)

1.20.0 (2023-08-31)

  • Minimum Self-Hosted Release 17.97.0
  • [Both] Capture Frozen Frames

1.19.3 (2023-08-25)

  • [Android] Support Vector Drawables in replay
  • [Android] Add Jetpack Compose 1.5.0 support

1.19.2 (2023-08-18)

  • [iOS] Prevent a crash in ApplicationLifecycleObserver

1.19.1 (2023-08-16)

  • [iOS] Improve tint and vibrancy accuracy in replay
  • [Both] Expand shutdown options

1.19.0 (2023-07-27)

  • Minimum Self-Hosted Release 17.11.0
  • View Allowlisting support

1.18.1 (2023-07-26)

  • [iOS] Prevent a potential crash during network request capture
  • [React Native] Implement web view linking SDK call (Android specific)

1.18.0 (2023-07-21)

  • Minimum Self-Hosted Release 16.502.0
  • [All] WebView/Mobile session linking support
  • [iOS] SwiftUI view tagging improvements

1.17.2 (2023-07-13)

  • [Android] Jetpack Compose - Fix an issue with LayoutId redaction

1.17.1 (2023-07-12)

  • [Android] Jetpack Compose - Clickmap Support
  • [All] Reduce React Native package size

1.17.0 (2023-07-06)

  • Minimum Self-Hosted Release 16.462.0
  • [iOS] SwiftUI - General Availability
  • [Android] Jetpack Compose - General Availability

1.16.10 (2023-07-05)

  • [iOS] Prevent a potential crash while capturing huge log volumes
  • [Android] Jetpack Compose - Redact by LayoutID
  • [Android] Jetpack Compose - Element Visible with Selector

1.16.9 (2023-06-21)

  • [Android] Jetpack Compose Beta - Touch Event Support

1.16.8 (2023-06-16)

  • [iOS] Improvements to lifecycle event and URL tracking
  • [All] Increase session inactive limit to 5 minutes

1.16.7 (2023-06-12)

  • [iOS] Resolved a potential NSRangeException during view processing

1.16.6 (2023-05-31)

  • [iOS] Resolved an issue with Configuration causing interference with custom UI traits on app load

1.16.5 (2023-05-26)

  • [Android] Jetpack Compose Beta

1.16.4 (2023-05-23)

  • [iOS] Improved logging when a framework issue prevents a full screen capture.

1.16.3 (2023-05-19)

  • [iOS] Resolved an issue that could cause memory leaks when capturing network requests

1.16.2 (2023-05-19)

  • Deploy skipped due to Cocoapods issue

1.16.1 (2023-05-18)

  • [iOS] Exclude system-level view controllers from navigation events

1.16.0 (2023-05-05)

  • Minimum Self-Hosted Release 16.329.0
  • [iOS] SwiftUI Beta

1.15.0 (2023-05-01)

  • Minimum Self-Hosted Release 16.315.0
  • [Android] Removed external dependency on protocol buffers library.
  • [iOS] Text input capture is now disabled when textSanitizer is set to .exclude

1.14.0 (2023-04-25)

  • Minimum Self-Hosted Release 16.296.0
  • [All] Manual page tagging through .tagPage(relativePage)

1.13.0 (2023-04-07)

  • Minimum Self-Hosted Release 16.252.0
  • [All] Preparations to accommodate future filters and metrics

1.12.6 (2023-03-31)

  • [React Native] Support Redux logs in sessions initialized after a shutdown
  • [React Native] Improved Network Response capture stability
  • [React Native Android] Fixed proxy configuration types

1.12.5 (2023-03-31)

  • Note: there is no 1.12.5 available for React Native
  • [All] Improved user attribution
  • [iOS] Fixed rare crashes or freezes related to view capture and filter conditions

1.12.4 (2023-03-29)

  • [React Native] Introduce a helper component and function for redacting views.
  • [iOS] Remove a noisy internal log.

1.12.3 (2023-03-21)

  • [All] Conditional Recording Duration trigger support

1.12.2 (2023-03-20)

  • [Android] Fix a potential hard lock during SDK shutdown.
  • [All] Update ingestion servers to https://r.lr-ingest.com/i.

1.12.1 (2023-03-09)

  • [iOS] Resolve a minor initialization issue with app start timing

1.12.0 (2023-03-08)

  • Minimum Self-Hosted Release 16.208.0
  • [All] Capture App start timing measurements for cold, warm, and hot starts.

1.11.5 (2023-03-07)

  • [Android] Resolved a minor memory leak related to long running sessions.

1.11.4 (2023-02-27)

  • [iOS] Fix a crash specific to SwiftUI introduced in version 1.11.3

1.11.3 (2023-02-17)

  • [iOS] Include CAShapeLayer elements in session replay
  • [iOS] Resolve an issue where element visible filters would sometimes not properly detect text matches

1.11.2 (2023-02-07)

  • [iOS] Capture and display App Network Throughput
  • [All] Improve performance during scrolling

1.11.1 (2023-01-31)

  • [Android] Hotfix to tighten our dependency requirement on com.google.protobuf:protobuf-javalite due to a release issue with the latest RC. Upstream details of the issue can be found on GitHub.

1.11.0 (2023-01-23)

  • Minimum Self-Hosted Release 16.63.0
  • [All] Capture and display Device Network Throughput
  • [Android] Capture and display App Network Throughput
  • [iOS] Resolve a minor issue with SDK.getSessionURL

1.10.1 (2023-01-04)

  • [All] Add automatic text redaction support.

1.10.0 (2022-12-28)

  • Minimum Self-Hosted Release 16.11.0

  • [All] Our replay system has been updated to support additional language scripts. When an iOS Application contains bidirectional text an experimental configuration option must be enabled or text may appear in the wrong order during replay.

    We currently support the following scripts: Latin, Cyrillic, Greek, Arabic, Hebrew, Korean, Hiragana and Katakana (with Serif variants available).

1.9.0 (2022-12-09)

  • Minimum Self-Hosted Release 15.525.0
  • [All] Capture and Display CPU usage performance data
  • [Android] Support proxy configuration. Documentation for configuring the proxy is available here.

1.8.1 (2022-11-22)

  • [Android] Resolved a minor issue with bitmap capture
  • [iOS] Resolved an issue with manipulation of task list post logger initialization

1.8.0 (2022-11-15)

  • Minimum Self-Hosted Release 15.473.0
  • [All] Memory Usage performance data capture and display
  • [All] Resolved an issue that would trigger Element Visible every frame. Matches now only occur on the first frame with the element on screen.
  • [All] Resolve an issue with inflated user session counts. This issue had no impact on overall quota usage and was limited to user filtering and display.
  • [iOS] Resolved a minor memory leak related to image capture.
  • [Android] Resolved an issue capturing the correct duration for some Time Between Events filters.
  • [Android] Resolved an issue that prevented starting a new session after explicit shutdown of the SDK in some situations.

1.7.3 (2022-11-02)

  • [iOS] Support Time Between Events non-retroactive filter

1.7.2 (2022-10-24)

  • [All] Rage Click Support
  • [iOS] Capture and allow filtering on clicked text

1.7.1 (2022-10-18)

  • [iOS] Limited Lookback Conditional Recording

1.7.0 (2022-10-14)

  • Minimum Self-Hosted Release 15.386.0
  • [iOS] Heatmaps are now supported
  • [iOS] Added default redaction tag 'lr-hide'

1.6.2 (2022-10-03)

  • [iOS] Fix crashes related to Non-Retroactive Filters introduced in 1.6.0.
  • [All] Error State support.

1.6.1 (2022-09-21)

  • [iOS] Resolved an issue with image caching that would prevent images from appearing in new sessions.

1.6.0 (2022-09-13)

  • Minimum Self-Hosted Release 15.298.0
  • [Android] Android 13 (API 33) is now supported.
  • [Expo] Updated @expo/config-plugins dependency to latest version.
  • [iOS] Support for "Element (not) Visible" filter.
  • [iOS] Support for Console filter.
  • [iOS] Fixed "release" filtering.
  • [All] Added support for captureMessage interface.
  • [All] Added init option to disable automatic uncaught exception capture (and the code wrapping it performs).

1.5.0 (2022-08-16)

  • Minimum Self-Hosted Release 15.206.0
  • [iOS] Support for limited Conditional Recording conditions: Custom Events and Network Requests can be used as session triggers. The 30-second limited capture mode is not yet supported.

1.4.6 (2022-08-01)

  • [iOS] Support non-retroactive network request filter for iOS mobile sessions.

1.4.5 (2022-07-21)

  • [iOS] Resolved a potential crash issue related to correctly freeing memory.

1.4.4 (2022-07-18)

  • [iOS] Detect when the app is in the background for handling inactivity.

1.4.3 (2022-07-11)

  • [iOS] Added configuration for network proxy.

1.4.2 (2022-07-01)

  • [iOS] Performance enhancement for view capture with popovers.
  • [iOS] Resolved an issue that would allow overlapping data uploads, mostly visible before 1.4.1.
  • [iOS] Resolved an issue related to session resumption after an app has been closed.
  • [iOS] Resolved an issue that prevented using LLDB with our SDK in an application.
  • [React Native] Add SDK.pauseViewCapture() and SDK.unpauseViewCapture().

1.4.1 (2022-06-10)

  • [iOS] Resolved an issue introduced in 1.3.3 that could trigger blank sessions.
  • [iOS] Resolved an issue handling boolean configurations in React Native on iOS.
  • [iOS] Reduced the data upload interval to resolve an energy impact issue.

1.4.0 (2022-05-25)

  • Minimum Self-Hosted Release 14.165.0
  • Crash Reporting is now available on both platforms! Detected crashes will be associated with their session and can be found by filtering for "Crash Reported" in the Omnibar.

1.3.3 (2022-05-20)

  • [iOS] Manual network capture no longer requires specifying an empty headers object
  • [iOS] Properly handle scrolled list views when considering what to capture
  • [Android] Display a message for partial view captures due to performance limits

1.3.2 (2022-05-06)

  • [iOS] Handle impossible coordinates for some React Native edge cases.

1.3.1 (2022-05-02)

  • Update default ingestion endpoints.
  • [iOS] User inactivity can trigger a new session when the user becomes active again.

1.3.0 (2022-04-27)

  • Minimum Self-Hosted Release 14.78.0
  • [Android] API 32 Support
  • [iOS] Add user activity tracking
  • [iOS] View capture fidelity and performance improvements
  • [iOS] Add SDK.pauseViewCapture() and SDK.unpauseViewCapture()
  • [React Native] Resolved a potential crash issue related to an uncaught exception
  • [React Native] Respect enableIPCapture on iOS

1.2.2 (2022-04-08)

  • [iOS] Fixed a crash that could occur during SDK shutdown.

1.2.1 (2022-04-01)

  • [Android] Replay of Text Inputs from React Native sessions has been corrected.
  • [iOS] An issue related to the "Manage Version and Build Number" build setting has been resolved and distribution builds should now be able to record sessions.
  • [iOS] Handle 3D matrix transformations -- fixes rendering views like the Date/Time Picker.
  • [iOS] Fix an issue with touch events, react native and iOS native context menus.

1.2.0 (2022-03-25)

  • Minimum Self-Hosted Release 13.141.0.
  • [iOS] Improvements to performance and fidelity of screen capture.

1.1.0 (2022-03-18)

  • Minimum Self-Hosted Release 13.123.0
  • [All Platforms] Correct an issue with handling layer alpha transparency, such as "hiding" a modal by setting the Alpha to 0.0.
  • [iOS] Restrict image capture to prevent payload issues.
  • [iOS] Updated manual log capture interface to match other platforms.

1.0.1 (2022-03-09)

  • [iOS] Resolved issues with crashes and improved images
  • [Android] Support "on text" click filter and full lookback CR

1.0.0 (2022-02-28)

  • Minimum Self-Hosted Release 13.86.0
  • [React Native] Removed console message indicating SDK is already active.