dataDirectory
Set a custom path for the webview's data directory (localStorage, cache, etc.) relative to `appDataDir()`/${label}. For security reasons, paths outside of that location can only be configured on the Rust side.
Platform-specific:
Windows: WebViews with different values for settings like
additionalBrowserArgs,browserExtensionsEnabledorscrollBarStylemust have different data directories.macOS / iOS: Unsupported, use
dataStoreIdentifierinstead.Android: Unsupported.
Since
2.9.0