Releases: pichillilorenzo/flutter_inappwebview
Releases · pichillilorenzo/flutter_inappwebview
v6.2.0-beta.2
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_platform_interface:^1.4.0-beta.1->^1.4.0-beta.2flutter_inappwebview_android:^1.2.0-beta.1->^1.2.0-beta.2flutter_inappwebview_ios:^1.2.0-beta.1->^1.2.0-beta.2flutter_inappwebview_macos:^1.2.0-beta.1->^1.2.0-beta.2flutter_inappwebview_web:^1.2.0-beta.1->^1.2.0-beta.2flutter_inappwebview_windows:^0.7.0-beta.1->^0.7.0-beta.2
 - Fixed specific URLAuthenticationChallenge type for 
onReceivedHttpAuthRequest,onReceivedServerTrustAuthRequest,onReceivedClientCertRequestevents of HeadlessInAppWebView - Fixed missing return type for 
InAppWebViewController.getJavaScriptBridgeNamestatic method 
Platform Interface
- Updated 
flutter_inappwebview_internal_annotationsdependency from^1.1.1to^1.2.0 - Updated 
fromMapstatic method andtoMapmethod implementations - Updated all WebView events with return type 
Futureto typeFutureOrin order to not force the usage ofasynckeyword - Added 
byName,name,asNameMapcustom enum classes methods - Added 
statusBarEnabled,browserAcceleratorKeysEnabled,generalAutofillEnabled,passwordAutosaveEnabled,isPinchZoomEnabled,hiddenPdfToolbarItems,reputationCheckingRequired,nonClientRegionSupportEnabled,alpha,isUserInteractionEnabledproperties toInAppWebViewSettings - Added 
isInterfaceSupported,getProcessInfos,getFailureReportFolderPathmethods toPlatformWebViewEnvironmentclass - Added 
isInterfaceSupported,setInputMethodEnabled,hideInputMethod,showInputMethodmethods toPlatformInAppWebViewControllerclass - Added 
exclusiveUserDataFolderAccess,isCustomCrashReportingEnabled,enableTrackingPrevention,areBrowserExtensionsEnabled,channelSearchKind,releaseChannels,scrollbarStyleproperties toWebViewEnvironmentSettings - Added 
onDownloadStartingWebView event and deprecatedonDownloadStartRequestevent - Added 
onNewBrowserVersionAvailable,onBrowserProcessExited,onProcessInfosChangedevents toPlatformWebViewEnvironmentclass - Fixed missing PrintJobOrientation android values
 
Android Platform
- Implemented 
hideInputMethod,showInputMethodInAppWebViewController methods - Implemented 
isUserInteractionEnabled,alphaproperties ofInAppWebViewSettings - Merged "Show / Hide / Disable / Enable soft Keyboard Input (Android & iOS)" #2408 (thanks to Mecharyry)
 - Fixed "[Android] PrintJobOrientation _TypeError (type 'Null' is not a subtype of type 'int')" #2413
 - Fixed "Accessibility Android" #1694
 - Fixed "Automatic font scale according to accessibility option 'font size' of device does not work on Android" #540
 - Fixed "callHandler method is not injected into InAppBrowser" #1973
 
iOS Platform
- Implemented 
setInputMethodEnabled,hideInputMethodInAppWebViewController methods - Implemented 
isUserInteractionEnabled,alphaproperties ofInAppWebViewSettings - Merged "Show / Hide / Disable / Enable soft Keyboard Input (Android & iOS)" #2408 (thanks to Mecharyry)
 - Fixed "In iOS version 17.2, when moving the input focus in a WebView, an unknown area appears at the top of the screen." #1947
 
macOS Platform
- Implemented 
alphaproperty ofInAppWebViewSettings 
Windows Platform
- Updated Microsoft.Web.WebView2 SDK version from 
1.0.2792.45to1.0.2849.39 - Implemented 
disableDefaultErrorPage,statusBarEnabled,browserAcceleratorKeysEnabled,generalAutofillEnabled,passwordAutosaveEnabled,isPinchZoomEnabled,allowsBackForwardNavigationGestures,hiddenPdfToolbarItems,reputationCheckingRequired,nonClientRegionSupportEnabledproperties ofInAppWebViewSettings - Implemented 
isInterfaceSupported,getProcessInfos,getFailureReportFolderPathWebViewEnvironment methods - Implemented 
isInterfaceSupported,getZoomScaleInAppWebViewController method - Implemented 
onDownloadStarting,onAcceleratorKeyPressedWebView event - Implemented 
exclusiveUserDataFolderAccess,isCustomCrashReportingEnabled,enableTrackingPrevention,areBrowserExtensionsEnabled,channelSearchKind,releaseChannels,scrollbarStyleproperties ofWebViewEnvironmentSettings - Implemented 
onNewBrowserVersionAvailable,onBrowserProcessExited,onProcessInfosChangedWebViewEnvironment events - Send mouse leave region event to native view
 - Fixed wrong channel name when creating a 
WebViewEnvironmentinstance - Fixed "[Windows] Has an overlay on the desktop when the application is minimized" #2402
 - Fixed "[Windows] missing implementation of onPermissionRequest event will cause crash when requested by the webpage" #2404
 - Fixed "Windows: getCookies return empty list" #2314
 
v6.2.0-beta.1
- 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
 
Web Platform
v6.1.5
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_windows:^0.5.0->^0.6.0
 
Windows Platform
- Updated code to support multiple flutter windows
 - Fixed 
InAppWebViewController.callAsyncJavaScriptnot working with JSON objects - Fixed 
onLoadResourceWithCustomSchemeWebView event called every time 
v6.1.4
6.1.4
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_platform_interface:^1.2.0->^1.3.0flutter_inappwebview_android:^1.1.1->^1.1.3flutter_inappwebview_ios:^1.1.1->^1.1.2flutter_inappwebview_macos:^1.1.1->^1.1.2flutter_inappwebview_web:^1.1.1->^1.1.2flutter_inappwebview_windows:^0.4.0->^0.5.0
 
Android Platform
- Removed webview/plugin_scripts_js/ConsoleLogJS.java file, use native WebChromeClient.onConsoleMessage instead
 
Windows Platform
- Implemented 
shouldInterceptRequest,onLoadResourceWithCustomSchemeWebView events 
v6.1.3
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_platform_interface:^1.1.0->^1.2.0flutter_inappwebview_android:^1.1.0+4->^1.1.1flutter_inappwebview_ios:^1.1.0+3->^1.1.1flutter_inappwebview_macos:^1.1.0+3->^1.1.1flutter_inappwebview_web:^1.1.0+2->^1.1.1flutter_inappwebview_windows:^0.3.0->^0.4.0
 
Windows Platform
- Updated 
shouldOverrideUrlLoadingimplementation using the Chrome DevTools Protocol API Fetch.requestPaused event 
v6.1.2
- Updated minimum platform implementation versions
 
Windows Platform
- Implemented 
pause,resume,getCertificatemethods forInAppWebViewController - Implemented 
onPermissionRequestWebView event - Fixed 
InAppWebViewController.evaluateJavascriptnot working with JSON objects - Fixed 
InAppWebViewManager::METHOD_CHANNEL_NAMEc++ value - Fixed 
InAppWebViewController.takeScreenshotto behave consistently with the other platforms 
v6.1.1
- Updated README
 - Updated pubspec.yaml
 - Updated minimum platform implementation versions
 
v6.1.0
- Added initial Windows support
 - Added 
InAppWebViewwidget MacOS support - Added privacy manifest for MacOS
 - Migrated web support to 
package:web. - Updated minimum supported SDK version to Flutter 3.24/Dart 3.5.
 - Updated androidx.webkit:webkit:1.8.0 to androidx.webkit:webkit:1.12.0
 - Updated androidx.browser:browser:1.6.0 to androidx.browser:browser:1.8.0
 - Fixed "[MACOS] launching InAppBrowser with 'hidden: true' calls onExit immediately" #1939
 - Fixed XCode 16 build
 - Removed unsupported WebViewFeature.SUPPRESS_ERROR_PAGE
 - Merged "Add privacy manifest for iOS" #2029 (thanks to ueman)
 - Merged "Remove references to deprecated v1 Android embedding" #2176 (thanks to gmackall)
 
v6.0.0
- Updated minimum platform interface and implementation versions
 - Merged "Added == operator and hashCode to WebUri" #1941 (thanks to daisukeueta)
 
v6.0.0-rc.3
- Updated minimum platform interface and implementation versions
 - Fix typos and other code improvements (thanks to michalsrutek)
 - Fixed "runtime issue of SecTrustCopyExceptions 'This method should not be called on the main thread as it may lead to UI unresponsiveness.' when using onReceivedServerTrustAuthRequest" #1924
 - Merged "💥 Fix iPad crash due to missing sourceView" #1933 (thanks to michalsrutek)
 - Merged "💥 Fix crash - remove force unwrapping from dispose method" #1932 (thanks to michalsrutek)