Skip to content

Changelog


0.4.3 (2026/10/30)

  • Upgraded compatible versions: iOS GuanceSDK 1.6.8, Android ft-sdk 1.7.6, ft-plugin 1.3.8, ft-session-replay 0.1.9, and ft-native 1.1.4
  • Added a unified percentage sampling configuration (0–100) that supports decimals and covers RUM, Log, Trace, Session Replay, and remote configuration; it is compatible with the legacy probability configuration (0–1), and when both are configured, the new field takes precedence
  • Added FTRUMConfig.visitorIdConfig and FTMobileReactNative.resetVisitorId(), which support injecting an anonymous Visitor ID into matching HTTP(S) requests, configuring the validity period, and resetting the identifier; WebSocket requests are not included

  • Added optional navigation plugins @truewatchtech/mobile-react-navigation and @truewatchtech/mobile-react-native-navigation, which support automatic RUM View collection and adapt to foreground/background lifecycle

  • Optimized page load time collection and fixed the nanosecond unit conversion in navigation examples; added FTReactNativeRUM.updateViewLoadingTime(duration), which supports updating the loading time of the current View in nanoseconds

  • Added iOS WebSocket handshake Resource collection, enabled independently via FTRUMConfig.enableIOSWebSocketResource and disabled by default; the handshake time is calculated using the collection start and end times to avoid the impact of native bridge processing delays. Android continues to use enableNativeUserResource to control native automatic collection
  • Optimized Resource filtering in development environments, excluding Metro, Inspector, HMR, and debugger WebSocket requests

  • Added optional @truewatchtech/react-native-mobile-babel-plugin, which supports build-time interaction collection and readable RUM action_name

  • Added FTRUMConfig.enableLongTask and FTRUMConfig.longTaskThresholdMs, which support collecting LongTask on the React Native JS thread and configuring the monitoring threshold

  • Added FTLogConfig.enableWebViewLog, which supports collecting logs from the Browser Logs SDK in WebView and can be controlled via the remote field logEnableWebViewLog
  • Added FTMobileConfig.allowWebViewHost, which unifies the host allowlist configuration for WebView RUM and logs and is compatible with the legacy RUM configuration entry
  • Supported initializing the SDK without an upload address and dynamically setting the upload address after initialization
  • Fixed remote configuration update and callback issues on iOS and Android under the React Native New Architecture

0.4.2 (2026/06/26)

  • Added blacklist filtering, which supports filtering Log and RUM data before they are written to the local cache. Rules can be configured in the application via FTMobileConfig.dataFilters, or automatically pulled from the Guance workspace blacklist; both methods take effect simultaneously. This capability is enabled by default; set enableDataFilter: false to disable SDK-side filtering. Filtering rules are executed after lineDataModifier
  • Upgraded compatible versions: iOS SDK 1.6.5, Android ft-sdk 1.7.2, and Android ft-session-replay 0.1.5
  • Fixed Android Java 8 compilation compatibility issues
  • Fixed the missing RUM addResource bridge on the legacy Android architecture

0.4.1 (2026/04/22)

  • Added Session Replay capability, provided as the standalone @truewatchtech/react-native-session-replay package that can be installed and used separately

  • Added Session Replay error sampling and support for dynamically controlling Session Replay through remote configuration

  • Session Replay supports privacy configuration for touch, text and input, and images via touchPrivacy, textAndInputPrivacy, and imagePrivacy; also added the native component FTSessionReplayView, which can mark and protect sensitive areas in the React Native UI during Session Replay recording
  • Added support for the React Native New Architecture, improving compatibility with the latest React Native application configurations
  • Supported dynamically updating the data upload address via FTMobileReactNative.setDatakitURL and FTMobileReactNative.setDatawayURL
  • Upgraded compatible versions: Android ft-sdk 1.7.0, Android ft-session-replay 0.1.3, and iOS SDK 1.6.2

0.3.16 (2026/03/26)

  • Adapted to Android ft-sdk 1.6.17 and iOS SDK 1.5.20
  • Added the FTRUMConfig.enableTraceWebView and FTRUMConfig.allowWebViewHost configuration items to support WebView collection rule configuration
  • Added remoteConfiguration, remoteConfigMiniUpdateInterval, and remoteConfigOverrideRules to FTMobileConfig, supporting remote configuration, update interval control, and configuration override rules
  • Added support for configuring the iOS crash monitoring type via FTRUMConfig.iosCrashMonitoringType
  • Supported adding context via the FTMobileReactNative.appendBridgeContext method to distinguish data sources or mark specific scenarios

0.3.15 (2025/08/12)

0.3.14 (2025/05/16)

  • Added FTRUMConfig.sessionErrorSampleRate to support error sampling: when data is not sampled by sampleRate, RUM data from 1 minute before an error occurs can be sampled and collected
  • Added FTMobileConfig.lineDataModifier and FTMobileConfig.dataModifier to support data write replacement and data masking
  • Adapted to Android ft-sdk 1.6.10 and 1.6.11, and iOS 1.5.15 and 1.5.16

0.3.13 (2025/03/21)

  • Android Java 8 compatibility adjustments, removing Kotlin library dependencies

0.3.12 (2025/03/07)

  • Added RUM Resource data fields resource_first_byte_time, resource_dns_time, resource_download_time, resource_connect_time, resource_ssl_time, and resource_redirect_time, supporting enhanced Resource duration display on TrueWatch and time axis alignment in the Application Performance Monitoring (APM) flame graph
  • FTMobileConfig.enableDataIntegerCompatible is enabled by default
  • Adapted to Android ft-sdk 1.6.9, and iOS 1.5.12, 1.5.13, and 1.5.14

0.3.11 (2025/02/05)

  • Optimized SDK configuration for hybrid Native and React Native development
    • Supported automatic collection of React Native control click events via the FTRumActionTracking.startTracking() method, and automatic collection of React Native error logs via the FTRumErrorTracking.startTracking() method
    • When RUM Resource automatic collection is enabled, added the iOS method FTReactNativeUtils.filterBlackResource(url) and the Android method ReactNativeUtils.isReactNativeDevUrl(url) to filter React Native symbolication requests and Expo log requests in development environments, reducing redundant data
  • Adapted to iOS SDK 1.5.11

0.3.10 (2025/01/21)

  • Changed the way native SDK headers are referenced in the iOS bridge code

  • Added RUM entry count limiting, supporting limiting the maximum number of cached entries in the SDK via FTRUMConfig.rumCacheLimitCount and specifying whether to discard new data or old data via FTRUMConfig.rumDiscardStrategy

  • Added support for limiting the total cache size via FTMobileConfig.enableLimitWithDbSize; once enabled, FTLogConfig.logCacheLimitCount and FTRUMConfig.rumCacheLimitCount no longer take effect. FTMobileConfig.dbDiscardStrategy sets the DB discard strategy, and FTMobileConfig.dbCacheLimit sets the DB cache size limit

  • Adapted to iOS SDK 1.5.8, 1.5.9, and 1.5.10

  • Android SDK ft-sdk 1.6.6, 1.6.7, and 1.6.8

0.3.9 (2024/12/24)

  • To improve React Android compatibility, changed part of the Android React Native Bridge from Kotlin to Java
  • Adapted to Android SDK ft-sdk 1.6.5

0.3.7 (2024/12/04)

  • Fixed incorrect data type annotation for Android RN errors
  • Supported setting the freeze detection threshold via FTRUMConfig.nativeFreezeDurationMs
  • Supported deflate compression configuration for synchronized data via FTMobileConfig.compressIntakeRequests
  • Adapted to iOS SDK 1.5.6 and 1.5.7
  • Adapted to Android SDK ft-sdk 1.6.2, 1.6.3, and 1.6.4

0.3.6 (2024/11/06)

  • Adapted to iOS SDK 1.5.5

0.3.5 (2024/10/23)

  • Supported collection of Native Error, ANR, and Freeze
  • Changed the default error type for react-native automatic error collection
  • For components with the onPress property, added support (after enabling enableAutoTrackUserAction) for defining whether to collect click events for the component by adding the custom property ft-enable-track, and for adding extra Action properties via ft-extra-property

0.3.4 (2024/10/19)

  • Supported global dynamic addition of globalContext properties
  • Supported custom error types via FTReactNativeRUM.addErrorWithType()
  • Supported shutting down the SDK via FTMobileReactNative.shutDown()
  • Supported clearing unreported cached data via FTMobileReactNative.clearAllData()
  • Fixed the issue where the stack and message parameters were assigned in reverse order during automatic react-native Error collection
  • Adapted to Android SDK ft-sdk 1.6.1
  • Adapted to iOS SDK 1.5.4

0.3.3 (2024/10/09)

  • Adapted to iOS SDK 1.5.3

0.3.2 (2024/08/28)

  • Fixed the issue where FTMobileConfig.env did not take effect on Android

0.3.1 (2024/08/21)

  • Fixed a compatibility error when using react/jsx-runtime with React versions lower than 16.14.0
  • Android compatible with lower react native 0.63 versions
  • Modified the regular expression for filtering localhost URLs to expand the matching scope
  • Adapted to iOS SDK 1.5.2

0.3.0 (2024/08/16)

  • Added support for configuring data synchronization parameters: request entry data, synchronization interval, and number of log cache entries
  • Added remote IP address resolution for RUM resource network requests
  • Added line protocol Integer data compatibility mode to handle web data type conflicts
  • Added a custom status method for logs
  • Modified the react-native action collection method to adapt to the issue where React 17 cannot intercept click events from React.createElement
  • In Debug scenarios, RUM Resource collection filters out hot-reload connections pointing to localhost
  • Fixed the Android underlying Double adaptation issue

More logs