OpenCode AI e9899d2e6d
Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
Initial DruksCode V2: fresh fork of web-to-app (f3b488e) with DruksCode identity
- Package rename com.webtoapp -> br.com.drukstech.codeapp
- Product rename WebToApp/web-to-app -> DruksCode/drukscode
- Design system Wta* -> Dkc*
- applicationId br.com.drukstech.codeapp (.play for gplay flavor)
- rootProject.name DruksCode
- Fresh git history (upstream kept as remote for sync)
2026-09-12 02:42:02 +02:00

3.7 KiB

Special Settings

Compatibility polyfills, bridges, and other specialized toggles. This card collects the specialized WebViewConfig options.

Where: the Special settings card in the Edit Common Config editor.

Polyfills & bridges

  • Clipboard polyfill — enableClipboardPolyfill.
  • Notification polyfill — Web Notification support (enableNotificationPolyfill).
  • Orientation polyfill — enableOrientationPolyfill.
  • Compat polyfills — a bundle of compatibility shims (enableCompatPolyfills).
  • Native bridge — expose a native bridge with capability gates (enableNativeBridge, nativeBridgeCapabilities).
  • Print bridge — intercept window.print() and PDF output to the Android print framework (enablePrintBridge).
  • Media Session bridge — bridge web media to the system media notification and lock-screen controls, including Bluetooth headsets and Android Auto (enableMediaSession).
  • Share bridge — enableShareBridge.
  • Zoom polyfill — enableZoomPolyfill.

Media & content

  • Media autoplay — with scope (mediaAutoplayEnabled, mediaAutoplayScope: video-only, …).
  • Image repair — fix broken images (enableImageRepair).
  • Scroll memory — remember scroll position (enableScrollMemory).
  • Back-state preservation — enableBackStatePreservation.
  • Blob download interception — with scope and size threshold (enableBlobDownloadInterception, blobInterceptThresholdMb).

JavaScript & windows

  • JS can open windows — with policy (javaScriptCanOpenWindows, jsOpenWindowsPolicy).
  • Prime user activation — synthesize a user gesture, with mode and timing (primeUserActivation, primeUserActivationMode, primeUserActivationTiming).
  • Base64 deep links — decode base64 deep links, gesture-only or always (decodeBase64DeepLinks, decodeBase64Mode).

Security & misc

  • Cross-origin isolation — enableCrossOriginIsolation.
  • Anti-capture — block screen capture (antiCapture).
  • Hide status bar in video fullscreen — force-hide the status bar while a web video plays in HTML5 fullscreen, restoring it on exit (hideStatusBarInVideoFullscreen, on by default). Overrides the Fullscreen Mode "show status bar in fullscreen" option while the video holds the screen.
  • File access from file URLs — allowFileAccessFromFileURLs, allowUniversalAccessFromFileURLs.
  • Error page — custom error page config (errorPageConfig).
  • Performance optimization — performanceOptimization.
  • PWA offline — offline cache strategy (pwaOfflineEnabled, pwaOfflineStrategy).
  • Floating back button — showFloatingBackButton.
  • Keyboard adjust mode — keyboardAdjustMode (resize, …). On Android 10 and below, the RESIZE mode uses the classic window-resize path (the window is not edge-to-edge), so the keyboard resizes content reliably.
  • Fullscreen video orientation — how fullscreen video orients (fullscreenVideoOrientation), e.g. auto sensor landscape.
  • Hide URL preview — hideUrlPreview.

Notes

  • These are power-user toggles; most apps leave them at defaults.
  • Defaults: the safe experience features default to ON for new apps — clipboard / orientation / compat polyfills, media session, share, zoom and print bridges, image repair, scroll memory, back-state preservation, blob interception, JS windows, user-activation priming, base64 deep links, private-network bridge, and the native bridge. Deliberately OFF: notification polyfill (it would prompt POST_NOTIFICATIONS on every export), geolocation, mixed content, third-party cookies, autoplay, and popup blocking.