Improved
v6.2.0-beta.3
- Added Linux support
- Updated dependencies to the latest versions for all platform implementations:
flutter_inappwebview_platform_interface:^1.4.0-beta.2->^1.4.0-beta.3flutter_inappwebview_android:^1.2.0-beta.2->^1.2.0-beta.3flutter_inappwebview_ios:^1.2.0-beta.2->^1.2.0-beta.3flutter_inappwebview_macos:^1.2.0-beta.2->^1.2.0-beta.3flutter_inappwebview_web:^1.2.0-beta.2->^1.2.0-beta.3flutter_inappwebview_windows:^0.7.0-beta.2->^0.7.0-beta.3flutter_inappwebview_linux:^0.1.0-beta.1
- Added
InAppWebViewController.getFaviconwrapper withfaviconImageFormatsupport. - Fixed "When useShouldInterceptAjaxRequest is true, some ajax requests doesn't work" #2197
- Mapped
isClassSupported,isPropertySupported,isMethodSupportedplatform interface static methods to the corresponding plugin classes such asInAppWebViewController,InAppWebView,InAppBrowser, etc., in order to check if a class, property, or method is supported by the platform at runtime - Updated code generator
- Minimum Dart SDK
^3.8.0 - Minimum Flutter SDK
>=3.32.0
Platform Interface
- Updated
flutter_inappwebview_internal_annotationsdependency from^1.2.0to^1.3.0 - Added
isClassSupported,isPropertySupported,isMethodSupportedstatic methods for all main classes, such asPlatformInAppWebViewController,InAppWebViewSettings,PlatformInAppBrowser, etc., in order to check if a class, property, or method is supported by the platform at runtime - Added
isSupportedmethod to all custom enum classes - Added
saveState,restoreState,requestEnterFullscreen,requestExitFullscreen,setVisible,setTargetRefreshRate,getTargetRefreshRate,requestPointerLock,requestPointerUnlock,getScreenScale,setScreenScale,isVisible,getFrameId,getFavicon,showSaveAsUI,getMemoryUsageTargetLevel,setMemoryUsageTargetLevelmethods toPlatformInAppWebViewControllerclass - Added
useOnAjaxReadyStateChange,useOnAjaxProgress,useOnShowFileChooser,corsAllowlist,itpEnabled,darkMode,disableAnimations,fontAntialias,fontHintingStyle,fontSubpixelLayout,fontDPI,cursorBlinkTime,doubleClickDistance,doubleClickTime,dragThreshold,keyRepeatDelay,keyRepeatInterval,disableWebSecurity,enableWebRTC,webRTCUdpPortsRange,javaScriptCanAccessClipboard,allowModalDialogs,enableMedia,enableEncryptedMedia,enableMediaCapabilities,enableMockCaptureDevices,mediaContentTypesRequiringHardwareSupport,enableJavaScriptMarkup,enable2DCanvasAcceleration,allowTopNavigationToDataUrlsproperties toInAppWebViewSettings - Added
onShowFileChooser,onContentLoading,onDOMContentLoaded, , , , , , WebView events
Android Platform
- Updated native dependencies:
- implementation from
'androidx.webkit:webkit:1.12.0'to'androidx.webkit:webkit:1.14.0' - implementation from
'androidx.browser:browser:1.8.0'to'androidx.browser:browser:1.9.0' - implementation from
'androidx.appcompat:appcompat:1.6.1'to'androidx.appcompat:appcompat:1.7.1' - implementation from
'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'to'androidx.swiperefreshlayout:swiperefreshlayout:1.2.0'
- implementation from
- Updated android native
compileOptionstoJavaVersion.VERSION_17 - Implemented
saveState,restoreStateInAppWebViewController methods - Implemented
onShowFileChooserWebView event - Updated InAppBrowser toolbar top
- Merged "Android: implemented PlatformPrintJobController.onComplete" #2216 (thanks to Doflatango)
- Fixed "When useShouldInterceptAjaxRequest is true, some ajax requests doesn't work" #2197
- Merged "Fixed recursive calling toMap in AndroidInternalStoragePathHandler" #2452 (thanks to roberthofstra)
- Fixed recursive
toMapcall for
macOS and iOS Platforms
- Implemented
saveState,restoreStateInAppWebViewController methods - Implemented
PlatformProxyControllerclass - Add Swift Package Manager support #2409
- Fixed "[iOS] Webview opened with windowId does not receive javascript handler callback." #2393
- Fixed internal javascript callback handlers when the WebView has windowId not null
- Fixed crash of unhandled
onPrintRequestWebView event - Fixed "When useShouldInterceptAjaxRequest is true, some ajax requests doesn't work" #2197
- Fixed "iOS App rejected by apple for violating Guideline 2.5.1 - Performance - Software Requirements | Flutter 3.35.x seems to use non-public or deprecated APIs" #2754
- Fixed "InAppWebViewController.goTo" implementation
- Merged "Add proxy support for iOS" #2362 (thanks to yerkejs)
- Merged "🐛 fix MacOS: when using the
WebMessageListenermethod, the message parameter is unexpectedly empty" (thanks to )
Windows
- Updated Microsoft.Web.WebView2 SDK version from
1.0.2849.39to1.0.3650.58 - Implemented
getFrameId,getFavicon,showSaveAsUI,getMemoryUsageTargetLevel,setMemoryUsageTargetLevelInAppWebViewController method - Added support for
onEnterFullscreen,onExitFullscreen,onContentLoading,onDOMContentLoaded,onLaunchingExternalUriScheme,onFaviconChanged,onNotificationReceived,onSaveAsUIShowing,onSaveFileSecurityCheckStarting,onScreenCaptureStartingWebView events. - Added native FindInteractionController implementation using WebView2
ICoreWebView2Find. - Implemented
setFindOptionsFindInteractionController method - Implemented
PlatformWebNotificationControllerfeature - Merged "windows: fix WebViewEnvironment dispose crash" #2433 (thanks to GooRingX)
- Merged "fix #2484, Remove not-empty assert for Cookie.value" #2486 (thanks to laishere)
- Merged "Prevent Unpredictable Close On Windows" #2543 (thanks to momadvisor)
Web
- Updated
onCreateWindowWebView event - Implemented
onCloseWindow,onCallJsHandlerWebView events - Implemented
addJavaScriptHandler,removeJavaScriptHandler,hasJavaScriptHandler,addUserScript,addUserScripts,removeUserScript,removeUserScriptsByGroupName,removeUserScripts,hasUserScriptInAppWebViewController methods - Implemented
setJavaScriptBridgeName,getJavaScriptBridgeName,getDefaultUserAgentInAppWebViewController static methods - Implemented
javaScriptHandlersOriginAllowList,javaScriptBridgeEnabled,javaScriptBridgeOriginAllowList,hasJavaScriptHandler,addUserScript,addUserScripts,removeUserScriptofInAppWebViewSettings - Merged "fix #2484, Remove not-empty assert for Cookie.value" #2486 (thanks to laishere)
Linux
- Initial implementation