collectWebViewFingerprint
Runs the FINGERPRINT_HTML page in an offscreen WebView and collects the resulting browser fingerprint.
All WebView operations run on the main thread. JavaScript delivers its payload through a @JavascriptInterface bridge; the WebView is always destroyed (on completion, timeout, or cancellation) to avoid leaks. A 5s watchdog yields a fallbackResult on timeout.
Privacy: high — this reproduces exactly what a hostile web page could fingerprint (canvas, WebGL, audio, UA). Hash-valued fields are SHA-256 hashed before being surfaced. Backs the advanced WebViewFingerprint category.
Return
A populated WebViewFingerprintResult, or a fallback with failure sentinels.
Parameters
context
Context used to build the WebView (application context is used).