Changelog¶
ft-sdk¶
1.7.6 (2026/10/22)¶
- Added percentage sampling configuration APIs
setSessionSamplingRate,setSessionOnErrorSamplingRate,setLogSamplingRate, andsetTraceSamplingRate, which uniformly use0–100, support decimals and explicit setting to0, and support corresponding remote configuration. The legacy0–1APIs are retained for compatibility but marked as deprecated. When both new and old APIs are set, the new API takes precedence, and remote configuration continues to take precedence over local configuration. - Added Visitor ID capability, which can be enabled on demand via
FTRUMConfig.setVisitorIdConfig(...), supporting custom request headers, URL matching rules, validity period, and reset viaFTSdk.resetVisitorId(); the default validity period is 24 hours. Supports automatic and manual OkHttp integration; header injection is independent of RUM/Trace sampling and associatesvisitor_idwith native RUM data. Browser RUM 3.3.16 full/slim packages in WebView can reuse the native Visitor ID. - Added automatic collection of HTTP/HTTPS URLConnection Resources. Both
setEnableTraceUserResource(true)andsetEnableHttpURLConnectionResource(true)must be enabled, andft-plugin >= 1.3.9is required to instrumentURL.openConnection()/openConnection(Proxy). Supports total request duration, observable sent and received bytes, error collection, and passing trace information according to the Trace configuration; request and response bodies are not collected, and durations of network phases that cannot be observed are not reported. - Added native View metrics
network_settled_timeandinteraction_to_next_view_time, in nanoseconds, measuring the time to complete initial resources and the time from interaction on the previous page to the start of the current page, respectively. By default, the initial resource range includes Resources whose start time is less than 100 ms from the View start; the interaction interval must be greater than 0 and less than 3 seconds; the initial resource duration result is fixed when the page ends. - Added
FTRUMConfig.setInitialResourceIdentifier(...)andsetLastInteractionIdentifier(...)to support custom page duration calculation rules; the built-in time policy supports configuring thresholds in milliseconds. The configuration takes effect during RUM initialization. Passing an initial resource rule that always returnsfalsecan disablenetwork_settled_time, and setting the interaction rule tonullcan disableinteraction_to_next_view_time. - Added
app_statebased on event occurrence interval to View, Resource, and LongTask; addedsession_start_reasonto native RUM events, supporting retention of the session start reason for delayed requests, cached data, and historical ANRs; old caches missing this information useunknown. - Added
startView(viewName, property, ViewTrackingType),stopView(viewId, property), andonCreateView(viewName, loadTime, loadStartTime)for framework integration. Automatic View and its active Action end synchronously when the app enters the background; delayed stop callbacks for replaced pages are ignored; and the page load start time can be specified. - Added
FTRUMConfig.setEnableHeatMap(boolean)initialization configuration; Heatmap is disabled by default and must be explicitly enabled. When disabled, heatmap target recognition and related attribute calculation are skipped; withft-session-replay >= 0.1.9, replay heatmap binding nodes can also be skipped, while normal RUM and replay recording are unaffected. - Added enum-based
FTRUMConfig.setDeviceMetricsMonitorTypes(...), supporting selection of device metrics and collection frequency; the legacy bitmask API is retained for compatibility but marked as deprecated. Fixed an issue where device metric tasks continued to be scheduled after a page ended or was replaced. - Added a generic external Session Replay integration API, enabling framework and engine recorders to reuse RUM context, chunk storage, image resources, and replay metadata, and coordinate pause and resume of the native recorder. Dynamic recorder management and WebP image encoding with a per-frame byte budget require
ft-session-replay >= 0.1.9; the original Flutter-specific API is retained as a deprecated compatibility alias. - Optimized cold start collection and fixed issues where duplicate launch callbacks overwrote the first launch time and where a cold-start Action was missed when the first Activity did not draw. Added
app_launch_type=foreground_and_backgroundto identify cases where the app enters the background after a foreground launch but before the first frame is complete; launches initiated from the background still retainbackground. - Optimized synchronization timing after an early crash: if the process automatically captures a Java Crash or receives a real-time Native Crash callback within 5 seconds (inclusive) after the SDK is first installed, the first automatic upload wait time on the next launch is shortened from 10 seconds to 2 seconds; subsequent synchronization cycles and retry policies remain unchanged.
- Fixed an issue where View
time_spentremained zero after a Java/Native Crash or a historical fatal ANR, and fixed an issue where the SDK main process determined it had entered the background too early when the UI was hosted by another foreground process in the same app. - Fixed inaccurate native RUM sampling rate metadata after remote configuration updates; it is now uniformly recorded as a
0–100percentage, retaining decimals and explicit zero values. - Fixed an issue where View IDs starting with non-numeric characters in SQLite could not update properties, and where the calculated interaction duration was lost after the previous page was removed from history; page duration metrics continue to use the existing storage structure, and no database version upgrade is required.
- Optimized resource lookup for dynamically generated View IDs to avoid repeated
Invalid IDerrors triggered by Session Replay or heatmap target recognition; optimized battery monitoring broadcast registration to adapt to receiver flag requirements on different Android versions.
1.7.5 (2026/08/16)¶
- Added OkHttp WebSocket handshake RUM Resource collection: after enabling
FTRUMConfig.setEnableTraceUserResource(true), automatic collection is available withft-plugin >= 1.3.8, or manual integration is possible viaFTWebSocket.newWebSocket(...)orFTWebSocket.wrap(...); data addsresource_type=websocket,resource_websocket_collection_level=handshake, andresource_websocket_handshake_state(success,rejected,failed). - Fixed inaccurate
app_launch_typeclassification for the cold-start Action and the issue where launch duration included device deep sleep time when a background component starts before the first Activity. - Added
FTRUMConfig.setIssueDataProvider(...)to support adding custom fields to automatically collected Crash and ANR RUM Errors, including ANR data restored from history. - Added fatal ANR recovery on Android 11 (API 30) and above: after enabling
FTRUMConfig.setEnableTrackAppANR(true), the SDK restores fatal ANRs on subsequent process launches and retains the original RUM View association; Android 10 and below continue to use real-time watchdog/native ANR collection, and Android 11 and above do not collect non-fatal real-time ANRs. - Fixed repeated reporting of watchdog ANRs within the same SDK lifecycle, and the issue where the detection thread did not exit promptly when
FTSdk.shutDown()was called. - Added WebView Browser Log collection, which can be enabled via
FTLoggerConfig.setEnableWebViewLog(true), supporting log filtering, cache upload, RUM association viaFTLoggerConfig.setEnableLinkRumData(...), and remotelogEnableWebViewLogconfiguration. - Optimized WebView host configuration; added
FTSDKConfig.setAllowWebViewHost(...)to uniformly control the host scope for WebView RUM and Log, and deprecatedFTRUMConfig.setAllowWebViewHost(...). - Fixed a memory leak where WebView and Activity were still held after Session Replay stopped.
1.7.4 (2026/07/15)¶
- Added experimental Android RUM Heatmap support; RUM data adds
display,action_position, andaction_target; replay element association requiresft-session-replay >= 0.1.7. - Fixed locale-related parsing issues and improved fault tolerance of custom log console output.
1.7.3 (2026/07/02)¶
- Added
FTSdk.setAutoSync(boolean), supporting dynamic enabling or disabling of automatic synchronization of cached data after SDK initialization. - Fixed inconsistent handling of
warnandwarninglog level filter values inFTLoggerConfig.setLogLevelFilters. - Fixed the application of logcat configuration for Native Crash and ANR, now correctly using
nativeCrashLogCatSettingandanrCrashLogCatSettingrespectively. - Optimized cache count initialization and file cache size refresh logic during startup to avoid blocking the main thread when the SDK starts.
- Optimized file cache size statistics by using persistent incremental metadata to improve cache limit determination accuracy and write performance in large-capacity FileStore scenarios.
- Optimized lock contention in RUM cache policy when the total cache size limit is enabled, improving stability of high-concurrency FileStore writes.
- Optimized remote configuration log display; array fields such as
rumAllowWebViewHostandlogLevelFiltersnow print actual content.
1.7.2 (2026/05/20)¶
- Added blacklist filtering, supporting filtering Logging and RUM data before local cache writes. Rules can be configured in the app via
FTSDKConfig.setDataFilters, or automatically pulled from the Guance workspace Blacklist; both methods take effect simultaneously. This capability is enabled by default and can be disabled viaFTSDKConfig.setEnableDataFilter(false); filtering rules run afterLineDataModifier. - Added generic cache size limit configuration
FTSDKConfig.enableLimitWithCacheSize,FTSDKConfig.setCacheDiscard, andCacheDiscard; the originalenableLimitWithDbSizeandsetDbCacheDiscardare retained for compatibility, but migration to the new APIs is recommended. - Added file cache capability
FTSDKConfig.enableFileDataStore()for synchronous cache and RUM aggregate data, and provided a migration path compatible with legacy caches. ft-sdkno longer has a hard dependency onft-session-replay; apps that do not enable Session Replay do not need to add theft-session-replaydependency.- Added
app_launch_typefield to cold-start Actions to distinguish foreground launches from background launches. - Added fallback RUM View data, generating real View summary records in
ApplicationLaunch,BackgroundView, andRootViewscenarios, so RUM events for launches, background, and missing foreground Views can be associated with a randomview_id. - Optimized data synchronization policy: RUM data is synchronized first, and retry and backoff states are isolated by data type, reducing cases where log synchronization affects RUM data reporting.
- Fixed an issue where custom Resource properties could override the SDK-calculated
duration, and added non-negative protection for fallback durations in exceptional cases. - Fixed Session Replay upload retry and upload address validation logic to avoid repeatedly triggering uploads to invalid addresses, and made retryable failures follow the backoff policy.
1.7.1 (2026/04/30)¶
- Added View RUM metric
view_long_task_rateto count the proportion of total Long Task duration within the View lifecycle, with a maximum value of1. - Added crash RUM Error metrics
foreground_crash_free_durationandbackground_crash_free_durationto distinguish foreground and background crash-free running duration. - Added Resource network snapshot fields, including
network_available,network_validated,network_downlink_kbps,network_uplink_kbps, andnetwork_signal_strength. - SDK data synchronization enables deflate compression by default; it can be disabled via
FTSDKConfig.setCompressIntakeRequests(false). - Corrected version dependency constraints between
ft-sdkand the Session Replay module to improve integration compatibility check accuracy.
1.7.0 (2026/04/17)¶
- Added Session Replay capability, supporting WebView Session Replay, DCloud WebView, and full snapshot keyframe collection for WebView containers.
- Added Session Replay and RUM context association capability, associating WebView containers with the context of loaded HTML content.
- Added Session Replay error sampling and support for dynamically controlling Session Replay via remote configuration.
- Added Session Replay image resource upload, with added parameter passthrough such as userAgent and appVersion and synchronization link adaptation.
- Optimized Session Replay initialization, chunked frame supplementation, frame generation and consumption, delayed writing, disk write limits, etc., improving recording and synchronization stability.
- Fixed WebView data loss, abnormal handling of invisible scenarios, white screen caused by premature writing, inability to synchronize with lower OkHttp versions, and recording failures caused by Bitmap recycling.
- Fixed crashes caused by calling related methods before layout is complete for some controls, improving overall stability and compatibility.
1.6.17 (2026/3/25)¶
- Fixed an issue introduced in 1.6.16: remote dynamic configuration did not take effect on first load.
- Added
TraceContextandTraceContext.Simplefor custom Trace Header handling. You can provideheaders,traceId, andspanIdat once by overridingHeaderHandler.getTraceContext(Request), and it is fully compatible with the existinggetTraceHeader,getTraceID/getSpanIDimplementations. - Supports dynamically changing the transmission address via
FTSdk.setDatakitUrl(url)andFTSdk.setDatawayUrl(datawayUrl, clientToken).
1.6.16 (2026/1/08)¶
- Added invalid character filtering for globalContext and property keys.
- Expanded
resource_typesupport with image, media, font, CSS, JS, and native types. - Supports custom parsing and configuration of remote variables via
FTSDKConfig.setRemoteConfigurationCallBack(FTRemoteConfigManager.FetchResult),FTSdk.updateRemoteConfig(int remoteConfigMiniUpdateInterval, FTRemoteConfigManager.FetchResult result). - Added
resource_http_protocol,resource_request_size, andresource_connection_reusefields to Resource. - Refined cold start time metrics; added
app_pre_application_init_time,app_application_init_time, andapp_first_frame_init_time. - Added compatibility support for OkHttp 3.12 and above.
- Fixed inaccurate Resource request start time.
- Fixed an occasional null pointer exception when obtaining Action and View during SDK shutdown.
- Optimized error stack format and fixed line break errors in specific scenarios.
- Added limited Long Task monitoring capability when the app is in the background.
- Optimized the Session refresh mechanism when the app is in the background.
- Optimized nanosecond-level duration calculation logic in Action, View, and Resource.
1.6.15 (2025/12/03)¶
- Optimized the FPS monitoring mechanism: it starts on the main thread and automatically stops monitoring when the app enters the background.
- Optimized the output mechanism for long logs exceeding 4K to improve log readability and completeness.
- Optimized the generation logic of resource, long task, and error in the View context.
- Improved View generation rate and reduced traffic data generated with the same view_id.
- Removed restrictions on ActivityLifecycleCallbacks in child processes, making lifecycle listening more complete.
- Fixed occasional loss of View data updates.
- Fixed session refresh exceptions caused by asynchronous network requests.
- Fixed an issue where re-initialization after SDK shutdown could not trigger idle release of the DB.
1.6.14 (2025/08/20)¶
- Used ContentProvider to optimize compatibility in high-load multi-process data collection scenarios.
- Removed the SDK AndroidMainfest declaration of
android.permission.READ_PHONE_STATE; integrators need to add it according to actual conditions. For permission usage, see Integration Documentation. - Restricted data synchronization in child processes; data collected by child processes is reported by the main process.
1.6.13 (2025/08/10)¶
- Added
FTRUMConfig.setActionTrackingHandlerto support custom user action tracking. This handler allows developers to customize how user actions (app launches, clicks) are tracked in RUM data. Developers can modify action names, add custom properties, or skip tracking for specific actions. - Added
FTRUMConfig.setViewActivityTrackingHandlerto support custom Activity page tracking. This handler allows developers to customize how Activity pages are tracked in RUM data. Developers can modify page names, add custom properties, or skip tracking for specific Activities. - Added
FTRUMConfig.setViewFragmentTrackingHandlerto support custom Fragment page tracking. This handler allows developers to customize how Fragment pages are tracked in RUM data. Developers can modify page names, add custom properties, or skip tracking for specific Fragments. - Fixed an issue where
FTRUMGlobalManager.addActionwas missing bindUserData-related information, such as userid. - Added the
load_timedata metric forFragemntin View. - Added
FTRUMGlobalManager.updateTimefor customizing the load time of the current view. - Improved compatibility with OkHttp 3.12.x.
- Tags added via
FTRUMConfig.appendRUMGlobalContextcan be updated during a session.
1.6.12 (2025/06/11)¶
- Added
FTRUMConfig.setEnableTraceWebViewto configure whether to collect WebView data via the Android SDK;FTRUMConfig.setAllowWebViewHostcan control the host addresses to filter. - Added
ContentHandlerHelperEx.onExceptionWithFilterto filter local network errors. - Added
FTSDKConfig.setRemoteConfigurationto support enabling the remote conditional configuration feature; addedFTSDKConfig.setRemoteConfigMiniUpdateIntervalto set the minimum update interval after enabling remote control.
1.6.11 (2025/05/15)¶
- Added
FTRUMConfig.setEnableTraceUserViewInFragmentto support fragment view data collection, defaultfalse. - Added
FTSDKConfig.setLineDataModifierandFTSDKConfig.setDataModifierto support data write replacement and data masking. - Added
FTRUMConfig.setSessionErrorSampleRateto support error sampling. When data is not sampled bysetSamplingRate, RUM data from 1 minute before an error can be sampled and collected when an error occurs. - When
FTSDKConfig.setEnableAccessAndroidID(false)is set, use a local randomUUIDasdevice_uuid. - Optimized high-frequency log writing and the logic for data synchronization and idle shutdown.
1.6.10 (2025/04/18)¶
- Added
FTSDKConfig.setEnableOkhttpRequestTagto support adding a unique ResourceID to OkHttp requests, resolving trace_id and span_id misalignment for identical requests under high concurrency. ft-plugin 1.3.5 and later supports automatically adding ResourceID. - Fixed circular calls with other crash collection SDKs in scenarios where RUM configuration is initialized multiple times.
- When navigating from a native page to a WebView page, fill view_referrer with the native page name.
- Fixed the issue where rethrown network request IOException altered the original type.
- Added
setProxy,setProxyAuthenticator, andsetDnsto FTSDKConfig to configure Proxy, ProxyAuthenticator, and Dns for OkHttp data synchronization network requests. - OkHttp data synchronization network requests support DNS IP round-robin connections for known hostNames.
1.6.9 (2025/03/07)¶
- Modified the isAppForeground determination mechanism to adapt to privacy-sensitive information detection.
- Added
resourcedata fieldsresource_first_byte_time,resource_dns_time,resource_download_time,resource_connect_time, andresource_ssl_time, supporting enhanced Resource duration display on TrueWatch and timeline alignment in the APM Flame Graph. - Optimized the synchronization retry mechanism and removed the
FTSDKConfig.setDataSyncRetryCount(0)option that directly discarded data. FTSDKConfig.enableDataIntegerCompatibleis enabled by default for compatibility with web numeric floating-point data.- Fixed duplicate crash data generation when RUM configuration is initialized multiple times.
1.6.8 (2025/01/21)¶
- Fixed inaccurate FPS collection when RUM configuration is initialized multiple times.
- Added fault tolerance for upgrading legacy cached data.
- Migrated
FTRUMConfig.setOkHttpTraceHeaderHandlertoFTTraceConfig.setOkHttpTraceHeaderHandler. - Enhanced internal WebView SDK information and optimized performance.
1.6.7 (2025/01/10)¶
- Supports associating custom
FTTraceInterceptor.HeaderHandlerwith RUM data. - Supports changing the content of the ASM-written
FTTraceInterceptor.HeaderHandlerviaFTRUMConfig.setOkHttpTraceHeaderHandler, and changing the content of the ASM-writtenFTResourceInterceptor.ContentHandlerHelperviaFTRUMConfig.setOkHttpResourceContentHandler. - Optimized crash collection to adapt to scenarios where some OSes trigger
system.exit, causing crash data not to be collected. - Fixed an issue where tags occasionally became empty strings, preventing data from being reported properly.
- Optimized the override logic for ASM OkHttpListener EventListener, supporting retention of event parameter passing for the original project's EventListener.
1.6.6 (2024/12/27)¶
- Optimized network status and type acquisition, supporting display of the ethernet network type.
- Optimized frequent database closing due to data writes when there is no network.
- Fixed the deviation between the number of data entries and the configured number of entries when dropping logs and old RUM data.
- Adapted TV device key events and removed tags for non-TV devices.
- Supports limiting the maximum number of RUM data cache entries via
FTRUMConfig.setRumCacheLimitCount(int), default 100_000. - Supports the total cache size limit via
FTSDKConfig enableLimitWithDbSize(long dbSize); once enabled,FTLoggerConfig.setLogCacheLimitCount(int)andFTRUMConfig.setRumCacheLimitCount(int)will become invalid. - Optimized Session refresh rules when the device is idle.
1.6.5 (2024/12/24)¶
- Reduced prompts when WebView parameters are null during AOP.
- Optimized the mechanism for long Session updates when the app is in the background.
1.6.4 (2024/12/03)¶
- Optimized App startup time statistics on API 24 and above.
- Supports setting the detection time range via
FTRUMConfig.setEnableTrackAppUIBlock(true, blockDurationMs).
1.6.3 (2024/11/18)¶
- Optimized performance of custom
addActionunder high-frequency calls. - Supports configuring
deflatecompression for synchronized data viaFTSDKConfig.setCompressIntakeRequests.
1.6.2 (2024/10/24)¶
- Added
addActionmethod to RUM, supporting property extended attributes and frequent continuous data reporting.
1.6.1 (2024/10/18)¶
- Fixed an issue where calling custom
startViewseparately in RUM caused theFTMetricsMTRmonitoring metric thread not to be reclaimed. - Supports adding dynamic properties via
FTSdk.appendGlobalContext(globalContext),FTSdk.appendRUMGlobalContext(globalContext), andFTSdk.appendLogGlobalContext(globalContext). - Supports clearing unreported cached data via
FTSdk.clearAllData(). - Extended the maximum limit of SDK
setSyncSleepTimeto 5000 ms.
1.6.0 (2024/08/18)¶
- Optimized data storage and synchronization performance.
(Upgrading from an old version to 1.6.0 requires configuring
FTSDKConfig.setNeedTransformOldCachefor legacy data compatibility synchronization.) - Fixed an exception caused by calling
Log.w(String,Throwable)when using ft-plugin.
1.5.2 (2024/07/10)¶
- Added a local network error type prompt to Error network_error to supplement the explanation of the resource_status=0 scenario in Resource data.
- Fixed the rethrow propagation issue of uncaughtException when
setEnableTrackAppCrash(false)is set.
1.5.1 (2024/06/19)¶
- Added code stacks from other threads to Java Crash and ANR.
- Added additional logcat configuration for Java Crash, Native Crash, and ANR.
- Fixed frequent session_id updates in long sessions with no action updates.
1.5.0 (2024/06/03)¶
- Added remote IP address resolution for RUM resource network requests.
- Fixed array thread safety issues caused by high-concurrency network requests after enabling RUM SampleRate.
- Improved fault tolerance of the
ConnectivityManager.registerDefaultNetworkCallbackmethod. - Added an Integer data compatibility mode for the line protocol to handle web data type conflicts.
- Optimized acquisition of control resource name IDs in automatically collected Action clicks.
- Improved fault tolerance for SDK config reading exceptions.
1.4.6 (2024/05/15)¶
- Improved SDK initialization fault tolerance.
- Added Status.Debug type to logs.
- Adjusted console log level mapping:
Log.i->info,Log.d->debug. - FTLogger custom logs support custom status fields.
1.4.5 (2024/04/26)¶
- Improved compatibility handling for repeated initialization.
- Optimized synchronization logic for c/c++ crash collection data to avoid unexpected interruption and exit in some scenarios, causing deadlocks.
- Optimized startAction Property write logic to avoid thread safety access issues.
1.4.4 (2024/04/01)¶
- Database connection fault tolerance protection.
- Fixed an issue where partial child process configurations did not take effect when
setOnlySupportMainProcessis true. - Fixed an issue where Crash was not rethrown when View collection was disabled in RUM.
1.4.3 (2024/03/22)¶
- Supports upload to Dataway and Datakit addresses.
- Supports sending RUM data of Action, View, Resource, LongTask, and Error types.
- View, Action page navigation, and control click operations are automatically collected and require ft-plugin.
- Resource is automatically collected, supports only OkHttp, and requires ft-plugin.
- Native Crash and ANR in Error require ft-native.
- Supports sending Log data; console logs are automatically written and require ft-plugin.
- Trace HTTP header propagation supports only OkHttp and requires ft-plugin.
- Supports data synchronization parameter configuration: request entry count, synchronization interval, and number of log cache entries.
- Supports converting SDK internal logs to files.
ft-session-replay¶
0.1.10 (2026/11/10)¶
ft-session-replay¶
- Fixed an issue where native replay did not pass Window focus change events, causing hosts such as Cocos that depend on focus events to fail to resume rendering after returning from a native Activity.
- Fixed an issue where residual callbacks restarted native recording after handover between native and external recorders, while retaining outer callbacks and host event passing.
ft-session-replay-material¶
- No Changed
ft-session-replay-compose¶
- No Changed
0.1.9 (2026/10/22)¶
ft-session-replay¶
- Added generic external recorder management, supporting multiple framework or engine recorders to collaboratively pause native recording, and restoring native recording and generating a full snapshot after the last external recorder is released; supports exposing a mode that uses only external recorders.
- Fixed RUM View association issues when switching between native and external recorders, ensuring queued records retain their original page association, pages that have ended no longer receive new records, and native recording resumes at new page boundaries.
- Added WebP encoding size control for images from external recording, progressively reducing quality and dimensions according to the per-frame byte budget, and rejecting the frame if it still exceeds the limit; with the image resource API in
ft-sdk 1.7.6, the reception result, resource identifier, encoded size, and dimensions can be obtained. - Fixed the replay chunk compression format by using a single zlib data stream aligned to SYNC_FLUSH boundaries, resolving playback failures after concatenating multiple native or external recording chunks.
- Added
FTSessionReplayConfig.setSessionReplaySamplingRate(float)andsetSessionReplayOnErrorSamplingRate(float), uniformly using a0–100percentage, with default values of100and0respectively, supporting decimals and explicit zero values. The legacy0–1APIs are retained for compatibility but marked as deprecated; when both new and old APIs are set, the new API takes precedence; withft-sdk 1.7.6, remote configuration can continue to take precedence over local configuration. - Native replay follows the
FTRUMConfig.setEnableHeatMap(...)configuration inft-sdk 1.7.6; Heatmap is disabled by default. When disabled, heatmap permanent identifier calculation and transparent binding nodes are skipped, while normal control replay, viewport information, and touch visualization are retained. - Fixed cross-thread visibility of runtime replay sampling rate updates so native RUM metadata can read the sampling rate in effect; sampling rate fields in replay context uniformly use
0–100percentages.
ft-session-replay-material¶
- Follows the Session Replay core version update; no module-specific changes.
ft-session-replay-compose¶
- Follows the Session Replay core version update; no module-specific changes.
0.1.8 (2026/08/16)¶
ft-session-replay¶
- Session Replay resource checks and uploads now support passing through the RUM
globalContextselected byFTSessionReplayConfig.enableLinkRUMKeys(...), so resource requests retain the corresponding RUM context. - Fixed a memory leak where WebView and Activity were still held after Session Replay stopped.
ft-session-replay-material¶
- No changes.
ft-session-replay-compose¶
- No changes.
0.1.7 (2026/07/15)¶
ft-session-replay¶
- Added experimental Android Heatmap Session Replay element association; requires
ft-sdk >= 1.7.4. - Fixed incorrect Pointer ID and coordinate recording in multi-touch and gesture-cancel scenarios.
- Fixed an issue where touch privacy overrides configured via
PrivacyOverrideExtensions.setSessionReplayTouchPrivacy(View, TouchPrivacy)might not take effect for a View in locales such as Turkish.
ft-session-replay-material¶
- No changes.
ft-session-replay-compose¶
- No changes.
0.1.6 (2026/07/09)¶
ft-session-replay¶
- Added Flutter Session Replay external recorder mode; the Flutter-side recorder can reuse Session Replay sampling, context update, and data writing capabilities while disabling the native recorder lifecycle.
- Fixed a crash when Session Replay processes
DialogFragmentandgetDialog()or the owning Window is null.
ft-session-replay-material¶
- No changes.
ft-session-replay-compose¶
- No changes.
0.1.5 (2026/05/19)¶
ft-session-replay¶
- Added Flutter Session Replay upload compatibility, supporting mapping Replay batches to corresponding Segments via Flutter RUM context keys.
- Fixed compatibility issues with Session Replay file read/write factories under normal storage and encrypted storage implementations.
- Fixed retry state handling for Session Replay data and resource uploads; upload failures are retried according to the backoff policy, and invalid upload addresses are skipped until an available address is configured.
- Replaced remaining JetBrains nullability annotations in Session Replay with AndroidX annotations to reduce redundant annotation dependencies.
ft-session-replay-material¶
- No changes.
ft-session-replay-compose¶
- No changes.
0.1.4 (2026/04/30)¶
ft-session-replay¶
- Removed redundant Kotlin dependencies to simplify Session Replay dependencies.
- Improved public API comments for Session Replay configuration, privacy controls, custom Mapper extensions, and resource upload callbacks, improving IDE hints and custom extension development experience for Java/Kotlin integration.
ft-session-replay-material¶
- Version aligned with
ft-session-replay0.1.4; no API or behavior changes.
ft-session-replay-compose¶
- Fixed a crash when recording
AndroidViewinterop nodes caused by an older Session Replay Core lackingMappingContext.getInteropViewCallback(). - Added consumer ProGuard rules to retain the
MappingContextAndroidView interop callback access methods required by Compose Replay. - Improved comments for Compose Replay
Modifierprivacy overrides, extension support, text truncation mode, and image Wireframe helper methods, improving IDE hints for Kotlin/Compose integration.
0.1.3 (2026/04/17)¶
ft-session-replay¶
- Added WebView Session Replay capability, supporting full snapshot keyframe collection for DCloud WebView and WebView containers.
- Added Session Replay and RUM context association, associating WebView containers with the context of loaded HTML content.
- Added error sampling and support for dynamically controlling Session Replay via remote configuration.
- Added image resource upload, improving metadata handling such as userAgent, appVersion, and forceFullSnapshot.
- Optimized frame generation and consumption, chunked frame supplementation, delayed writing of WebView Replay data, handling of invisible WebViews, and disk write limits, improving stability and performance.
- Fixed WebView Replay data loss, white screen caused by premature writing, synchronization failure with lower OkHttp versions, recording failure caused by Bitmap recycling, null handling of rumLinkKey, and recording timeouts in multi-image scenarios.
ft-session-replay-material¶
- Added Session Replay support for Material components, including CardView and Chip.
- Improved compatibility and debugging support for lower Android versions.
- Optimized rendering of Material components in Replay data and updated MaterialDrawableToColorMapper rules.
- Aligned versioning strategy with
ft-session-replayto improve release management and integration consistency.
ft-session-replay-compose¶
- Added Jetpack Compose Session Replay support, enabling recording and replay for
ComposeViewandAndroidComposeViewscenarios. - Supports semantic mapping and replay of common Compose components, including text, text input fields, buttons, images, sliders, Switch, Checkbox, RadioButton, Tab, and container nodes.
- Supports Session Replay privacy overrides in Compose via
Modifier, including hiding nodes, image privacy, text and input privacy, and touch privacy. - Currently, Compose replay is based on semantic node mapping and does not guarantee pixel-perfect restoration;
Brushbackgrounds are not yet supported, for example, linear gradients and radial gradients will not replay with their original effects.
More logs for ft-session-replay
More logs for ft-session-replay-material
More logs for ft-session-replay-compose
ft-native¶
1.1.4 (2026/10/22)¶
- Fixed an issue where custom logcat configurations for Native Crash and ANR were controlled by the error collection switch; each configuration now takes effect with its corresponding collection switch. Fixed an issue where the custom log line count did not take effect when only one collection type was enabled, including the Native Crash scenario when native ANR collection is disabled by the Agent on Android 11 and above.
- Improved public API documentation; public method signatures and the underlying
.solibrary remain unchanged.
1.1.3 (2026/04/30)¶
- Enhanced Native Crash backtrace robustness by adding null address detection and strengthening null pointer and wild pointer checks in libft_native_exp_lib.so during libunwind.so backtracing.
- Fixed a possible secondary crash in libunwind.so during Native Crash handling.
1.1.2 (2025/07/18)¶
- Adapted to Android 16K page size (compatible with Android 15+).
1.1.1 (2024/06/22)¶
- Added logcat configuration for Native Crash and ANR.
1.1.0 (2024/03/22)¶
- Supports capturing ANR Crash.
- Supports capturing C/C++ Native Crash.
- Supports collecting app runtime status during a crash.
- Supports callbacks triggered by ANR and Native Crash.
ft-plguin ( AGP >=7.4.2 )¶
1.3.9 (2026/10/22)¶
- Added automatic wrapping of return values for
URL.openConnection()andURL.openConnection(Proxy); withft-sdk 1.7.6and bothFTRUMConfig.setEnableTraceUserResource(true)andsetEnableHttpURLConnectionResource(true)enabled, HTTP/HTTPS URLConnection RUM Resources can be automatically collected. - Added the
FTExt.instrumentHttpURLConnectionswitch, enabled by default, which can be set tofalseto disable URLConnection instrumentation; this configuration participates in Gradle instrumentation cache determination, follows existing package, class, and method exclusion rules, and repeated processing does not add duplicate collection hooks.
1.3.8 (2026/08/16)¶
- Added automatic instrumentation for OkHttp
newWebSocket(); after enablingFTRUMConfig.setEnableTraceUserResource(true), WebSocket handshake RUM Resources can be automatically collected and requiresft-sdk >= 1.7.5.
1.3.7 (2026/06/26)¶
- Added wildcard configuration support to
ignorePackages. - Fixed an issue where, when
autoUploadNativeDebugSymbolis enabled and the defaultnativeLibPathis used for automatic detection, the directory for unstripped Native.sosymbol files could not be identified under some AGP builds, causing abnormal symbol archive generation.
1.3.6 (2025/12/03)¶
- Supports UniApp WebView.
- Added the knownWebViewClasses parameter to support ASM writing.
- Added the function of outputting logs to files.
- Added the verboseLog parameter for outputting more logs.
- Added numeric boundary handling in FTMethodAdapter.
- Added ignore configuration to filter internal methods of custom WebViews.
1.3.5 (2025/04/18)¶
- Optimized plugin parameter stability in concurrent compilation.
- Added ASM writing for the FTAutoTrack.trackRequestBuilder method, requiring ft-sdk 1.6.10 or later.
- Supports automatic capture of Log.println logs, requiring ft-sdk 1.6.8 or later.
1.3.4 (2024/12/11)¶
- Optimized error log output.
- Fixed an issue where sourcemap symbol files were not generated because minifyEnabled was not enabled.
- Supports generating sourcemaps without proactively uploading them via generateSourceMapOnly true.
1.3.3 (2024/09/04)¶
- Optimized automatic retrieval and upload of native symbol so files, supporting custom specification of nativeLibPath.
1.3.2 (2024/08/13)¶
- Supports automatic capture of React Native WebView events.
1.3.1 (2024/07/04)¶
- Added asmVersion configuration, supporting asm7 - asm9, default asm9.
- Fixed an issue where custom WebView methods caused circular calls after ASM writing, preventing WebView content from loading
(involving the
loadUrl,loadData,loadDataWithBaseURL, andpostUrlmethods). - IgnoreAOP supports declaration within a class to ignore methods in the entire class.
- Added
ignorePackagesconfiguration, supporting ignoring ASM by package path.
1.3.0 (2024/03/22)¶
- Supports automatic upload of datakit source maps and native symbol upload.
- Supports capturing Application cold and warm starts, Activity page navigation, and View, ListView, Dialog, and Tab click events.
- Supports writing WebView JS listener methods.
- Supports automatic writing of OkHttp Trace and Resource data.
- Supports Gradle 8.0 and AGP 8.0.
- Supports the IgnoreAOP ignore marker.
- Supports compatibility with the Alibaba Cloud hotfix framework.
ft-plugin-legacy ( AGP <=7.4.2 )¶
1.1.9 (2025/12/09)¶
- Supports UniApp WebView.
- Added the knownWebViewClasses parameter to support ASM writing.
- Added the function of outputting logs to files.
- Added the verboseLog parameter for outputting more logs.
- Added numeric boundary handling in FTMethodAdapter.
- Added ignore configuration to filter internal methods of custom WebViews.
1.1.8 (2024/08/13)¶
- Supports automatic capture of React Native WebView events.
1.1.7 (2024/07/04)¶
- Fixed an issue where overriding methods in WebView subclasses caused circular calls after ASM writing, preventing WebView content from loading
(involving the
loadUrl,loadData,loadDataWithBaseURL, andpostUrlmethods). - IgnoreAOP supports declaration within a class to ignore methods in the entire class.
- Added
ignorePackagesconfiguration, supporting ignoring ASM by package path.
1.1.6 (2024/03/22)¶
- Supports automatic upload of datakit source maps and native symbol upload.
- Supports capturing Application cold and warm starts, Activity page navigation, and View, ListView, Dialog, and Tab click events.
- Supports writing WebView JS listener methods.
- Supports automatic writing of OkHttp Trace and Resource data.
- Supports versions below AGP 7.4.2.
- Supports the IgnoreAOP ignore marker.
- Supports compatibility with the Alibaba Cloud hotfix framework.