| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2024-11-05 | 5.5 kB | |
| v6.2.0-beta.1 source code.tar.gz | 2024-11-05 | 4.2 MB | |
| v6.2.0-beta.1 source code.zip | 2024-11-05 | 5.4 MB | |
| Totals: 3 Items | 9.5 MB | 0 | |
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_platform_interface:^1.3.0->^1.4.0-beta.1flutter_inappwebview_android:^1.1.3->^1.2.0-beta.1flutter_inappwebview_ios:^1.1.2->^1.2.0-beta.1flutter_inappwebview_macos:^1.1.2->^1.2.0-beta.1flutter_inappwebview_web:^1.1.2->^1.2.0-beta.1flutter_inappwebview_windows:^0.6.0->^0.7.0-beta.1
Implemented security features to better manage access to the native javascript bridge.
Platform Interface
- Updated static
fromMapimplementation for some classes - Updated
kJavaScriptHandlerForbiddenNameslist - Added
PlatformInAppLocalhostServer.onDataparameter to set a custom on data server callback - Added
javaScriptBridgeEnabled,javaScriptBridgeOriginAllowList,javaScriptBridgeForMainFrameOnly,pluginScriptsOriginAllowList,pluginScriptsForMainFrameOnly,javaScriptHandlersOriginAllowList,javaScriptHandlersForMainFrameOnly,scrollMultiplierInAppWebViewSettings parameters - Added
setJavaScriptBridgeName,getJavaScriptBridgeNamestatic WebView controller methods - Added
requestFocusWebView method - Added
onProcessFailedWebView event - Added
regexToAllowSyncUrlLoadingAndroid-specific property toInAppWebViewSettings - Added
JavaScriptHandlerFunctionDatatype - Deprecated
JavaScriptHandlerCallbacktype in favor ofJavaScriptHandlerFunctiontype - Deprecated
InAppWebViewSettings.forceDarkandInAppWebViewSettings.forceDarkStrategyAndroid-only properties in favor ofInAppWebViewSettings.algorithmicDarkeningAllowed - Fixed X509Certificate PEM base64 decoding
- Fixed specific URLAuthenticationChallenge type for
onReceivedHttpAuthRequest,onReceivedServerTrustAuthRequest,onReceivedClientCertRequestevents
Android Platform
- Added
InAppWebViewController.enableSlowWholeDocumentDrawstatic method - Added
CookieManager.flushmethod - Added support for
UserScript.forMainFrameOnlyparameter - Implemented
requestFocusWebView method - Updated UserScript at document end implementation
- Updated
InAppWebViewController.takeScreenshotimplementation to support screenshot out of visible viewport whenInAppWebViewController.enableSlowWholeDocumentDrawis called - Fixed "After dispose a InAppWebViewKeepAlive using InAppWebViewController.disposeKeepAlive. NullPointerException is thrown when main activity enter destroyed state." #2025
- Fixed crash when trying to open InAppBrowser with R.menu.menu_main on release mode
- Fixed "android.webkit.WebSettingsWrapper cannot be cast to com.android.webview.chromium.ContentSettingsAdapter" #2397
- Merged "Prevent blank InAppBrowser Activity from being restored" #1984 (thanks to ShuheiSuzuki-07)
- Merged "Update Android Cookie Expiration date format to 24-hour format (HH)" #2389 (thanks to takuyaaaaaaahaaaaaa)
- Merged "[Android] allow sync navigation requests using a regular expression" #2008 (thanks to lyb5834)
macOS and iOS Platforms
- Implemented
requestFocusWebView method - Updated ConsoleLogJS internal PluginScript to main-frame only as using it on non-main frames could cause issues such as #1738
- Moved
WKUserContentControllerinitialization onpreWKWebViewConfigurationto fix possibleundefined is not an object (evaluating 'window.webkit.messageHandlers')javascript error - Added support for
UserScript.allowedOriginRulesparameter - Merged "change priority of DispatchQueue" #2322 (thanks to nnnlog)
- ios: Fixed
show,hidemethods andhiddensetting forInAppBrowser - macOS: Implemented also
clearFocusWebView method - macOS: Implemented workaround for "[macOS] Copy Shortcut does not work if TextField outside of WebView has focus" #2380
Windows Platform
- Updated
scrollMultiplierdefault value from 6 to 1 - Added support for
UserScript.allowedOriginRulesandUserScript.forMainFrameOnlyparameters - Implemented
onReceivedHttpAuthRequest,onReceivedClientCertRequest,onReceivedServerTrustAuthRequest,onRenderProcessGone,onRenderProcessUnresponsive,onWebContentProcessDidTerminate,onProcessFailedWebView events - Implemented
clearSslPreferencesWebView method - Fixed
get_optional_fl_map_valueimplementation inutils/flutter.h - Fixed "Error in transparentBackground handling in Windows" #2391