A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
CookieManager.deleteCookies
wait for all delete cookie completion handler to be completed on iOS and macOSCookieManager.setCookie
method to be Future<bool>
. The return value indicates whether the cookie was set successfullyandroidx.webkit:webkit
dependency to 1.8.0
androidx.browser:browser
dependency to 1.6.0
hasJavaScriptHandler
, hasUserScript
, hasWebMessageListener
InAppWebViewController methodshideCloseButton
, hideDefaultMenuItems
, menuButtonColor
InAppBrowser settingsHeadlessInAppWebView.webViewController
could be null
throwIfAlreadyOpened
, throwIfNotOpened
InAppBrowser methodsthrowIfAlreadyOpened
, throwIfNotOpened
ChromeSafariBrowser methodsInAppBrowser.show()
possible crash on macOSwindowTitlebarSeparatorStyle
, windowAlphaValue
, windowStyleMask
, windowFrame
macOS settings updates when using setSettings()
androidx.webkit:webkit
dependency to 1.6.1
androidx.browser:browser
dependency to 1.5.0
androidx.appcompat:appcompat
dependency to 1.6.1
WebViewFeature.GET_COOKIE_INFO
requestedWithHeaderOriginAllowList
WebView setting for AndroidisInspectable
, shouldPrintBackgrounds
WebView settings for iOS and macOSWebViewFeature.REQUESTED_WITH_HEADER_CONTROL
, ServiceWorkerController.setRequestedWithHeaderMode()
, ServiceWorkerController.getRequestedWithHeaderMode()
, InAppWebViewSettings.requestedWithHeaderMode
@available
checks for macOSwindow.flutter_inappwebview.callHandler
implementation: if there is an error/exception on Flutter/Dart side, the callHandler
will reject the JavaScript promise with the error/exception message, so you can catch it also on JavaScript sidedeleteAllData
and deleteOrigin
methods implementationWebViewClientCompat
for Chromium-based WebView if the WebView package major version is >= 73 (https://bugs.chromium.org/p/chromium/issues/detail?id=925887)