A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
CustomPathHandler
class to be able to implement Android custom path handlers for WebViewAssetLoader
InAppBrowser.onMainWindowWillClose
eventWindowType.WINDOW
for InAppBrowserSettings.windowType
InAppWebViewController.callAsyncJavaScript
Android-issue when the last line of the functionBody
parameter includes a code commentInAppBrowserSettings.windowType
is WindowType.WINDOW
InAppWebViewSettings.interceptOnlyAsyncAjaxRequests
#1905
InAppWebViewController.clearFormData
Android-specific methodInAppWebViewController.clearAllCache
static methodCookieManager.removeSessionCookies
Android-specific methodInAppWebViewController.clearCache
and InAppWebViewSettings.clearCache
. Use InAppWebViewController.clearAllCache
static method insteadInAppWebViewSettings.clearSessionCache
. Use CookieManager.removeSessionCookies
method insteaduseShouldInterceptAjaxRequest
automatic infer logicCookieManager
methods return valueuseShouldInterceptAjaxRequest: true
would break sync ajax requests, so that the XMLHttpRequest.send()
will not wait for the response. To fix this issue, the default value of InAppWebViewSettings.interceptOnlyAsyncAjaxRequests
is true
. To intercept also sync ajax requests, this value should be false
.InAppBrowser
and ChromeSafariBrowser
opening same instance multiple times>= 2.17.0
com.pichillilorenzo.flutter_inappwebview_android
. References to old package name com.pichillilorenzo.flutter_inappwebview
should be updated, for example inside AndroidManifest.xml
file: <provider android:name="com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFileProvider" android:authorities="${applicationId}.flutter_inappwebview_android.fileprovider" ...
web_support.js
file path has been changed to packages/flutter_inappwebview_web/assets/web/web_support.js
ProcessGlobalConfig
for Android WebViewsdisableWebView
static method on InAppWebViewController
for AndroidWebViewFeature.isStartupFeatureSupported
, WebViewFeature.STARTUP_FEATURE_SET_DIRECTORY_BASE_PATHS
, WebViewFeature.STARTUP_FEATURE_SET_DATA_DIRECTORY_SUFFIX
, WebViewFeature.WEB_MESSAGE_ARRAY_BUFFER
WebMessage.type
propertyWebMessage.data
property is of type dynamic
JavaScriptReplyProxy.postMessage
is of type WebMessage
WebMessageListener.onPostMessage
and WebMessagePort.setWebMessageCallback
methods signaturerequestPostMessageChannel
, postMessage
, isEngagementSignalsApiAvailable
methods on ChromeSafariBrowser
for AndroidonMessageChannelReady
, onPostMessage
, onVerticalScrollEvent
, onGreatestScrollPercentageIncreased
, onSessionEnded
events on ChromeSafariBrowser
for AndroidgetPackageName
static method on ChromeSafariBrowser
for Android