Skip to content

[Draft] [Android] [WebView] Provide safe mode that doesn't require enabling js #866

Draft
FranAguilera wants to merge 1 commit intomainfrom
franjam/prototype-fallback
Draft

[Draft] [Android] [WebView] Provide safe mode that doesn't require enabling js #866
FranAguilera wants to merge 1 commit intomainfrom
franjam/prototype-fallback

Conversation

@FranAguilera
Copy link
Contributor

What

Provide a native mode that doesn't rely on injecting js script.

Verification

  • Testing with gradle-test-app

  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

@FranAguilera FranAguilera marked this pull request as draft January 30, 2026 17:18
@FranAguilera FranAguilera force-pushed the franjam/prototype-fallback branch 2 times, most recently from 4fca610 to 2dac5a6 Compare January 30, 2026 17:23
@github-actions
Copy link

Size Comparison Report (x86_64)

Metric APK (KB) SO (KB)
Baseline 3370 1244
Current 3370 1244
Difference 0 0

APK size unchanged. SO size unchanged.

@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Android Benchmark Results

Device: PR: Emulator - Android SDK built for x86_64 (API 31) | main: Emulator - Android SDK built for x86_64 (API 31)

Note: Benchmarks run on emulator. Results may vary between runs and may differ from physical devices.

Allocations

Test PR main Δ
logHttpNetworkLog50FieldsAndHeadersAndFieldProviders 915 914 +0.1%
logNotMatched10Fields 18 18 0.0%
logNotMatched5000Fields 45 46 -2.2%
logNotMatched500Fields 33 25 +32.0%
logNotMatched5Fields 14 14 0.0%
logNotMatchedNoFields 1 1 0.0%
trackSpansWithFields 136 136 0.0%
trackSpansWithoutFields 55 55 0.0%
webViewBridgeBridgeReady 61 62 -1.6%
webViewBridgeCustomLog 67 67 0.0%
webViewBridgeInvalidJson 38 38 0.0%
webViewBridgeWebVitalCLS 115 117 -1.7%

Timing

Test PR main Δ
logHttpNetworkLog50FieldsAndHeadersAndFieldProviders 230.99 us 232.48 us -0.6%
logNotMatched10Fields 5.74 us 5.65 us +1.5%
logNotMatched5000Fields 2.24 ms 2.21 ms +1.3%
logNotMatched500Fields 246.22 us 247.91 us -0.7%
logNotMatched5Fields 3.16 us 3.16 us 0.0%
logNotMatchedNoFields 421 ns 428 ns -1.8%
trackSpansWithFields 468.05 us 465.61 us +0.5%
trackSpansWithoutFields 7.64 us 7.59 us +0.7%
webViewBridgeBridgeReady 7.86 us 8.00 us -1.8%
webViewBridgeCustomLog 8.67 us 8.85 us -2.0%
webViewBridgeInvalidJson 109.92 us 77.03 us +42.7%
webViewBridgeWebVitalCLS 15.43 us 15.57 us -0.9%

@FranAguilera FranAguilera force-pushed the franjam/prototype-fallback branch from 2dac5a6 to 233a516 Compare February 2, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants