Disable WebView Injection
Disable all Fullstory processing and JavaScript injection for a mobile WebView.
Fullstory automatically processes every WebView and WebViewClient in your app to determine if the domain should be captured. If you wish to disable all Fullstory-related JavaScript and WebViewClient processing for a specific WebView, you can call FS.disableInjection
with that WebView. Doing so will disable all processing from Fullstory, which will also prevent any domains from being captured for this WebView, regardless of allowlist settings.
This must be called prior to any WebView loading or WebViewClient calls, or else we cannot guarantee that processing will be fully disabled.
Note: excluding a WebView is not sufficient to prevent Fullstory JavaScript from being injected.
Additional Information
- Java
- Kotlin