WebView Support
Enable WebView support in your Flutter app with Luciq. Monitor and debug issues inside WebView components, including data captured from web content.
Overview
WebViews are components that embed web content within native mobile applications. The Luciq SDK can automatically detect and monitor WebViews in your Flutter app.
This feature is available from SDK v19.7.0.
When enabled, WebView support allows you to:
Report WebView screen loading times in APM
Capture user interactions inside WebViews (tap, scroll, navigation)
Log network requests (Fetch/XHR) triggered by WebViews
This helps you get full visibility into hybrid app experiences where native and WebView content are combined.
WebView Data Enrichment
Enabling WebView detection enhances multiple Luciq products:
WebViews in APM
WebView loading times are reported alongside native screen loading metrics. This helps you measure and optimize performance across both native and web-based content.
WebViews in Bug Reporting, Crash Reporting, and Session Replay
User interactions inside WebViews are captured (navigation, swipe, tap, scroll)
Network logs from requests made inside WebViews (Fetch/XHR) are automatically captured
Both appear in the logs section; user interactions also appear in Repro Steps
Setup
Master WebView Tracking API
The Master API controls all WebView data collection at runtime, including:
User interactions
Network logs
Screen loading in APM
By default, the Master API is disabled. Enable it after Luciq.init:
User Interactions & Network Logs
By default, user interactions and network logs inside WebViews are disabled. Enable them at runtime:
API Summary
setWebViewMonitoringEnabled()
Master switch for all WebView tracking at runtime
false
setWebViewUserInteractionsTrackingEnabled()
Capture user interactions in WebViews
false
setWebViewNetworkTrackingEnabled()
Capture network logs from WebViews
false
Requirements
Luciq SDK version v19.7.0 or later
On Android, only the native
WebViewclass is supported
Last updated