Releases: pichillilorenzo/flutter_inappwebview
Releases · pichillilorenzo/flutter_inappwebview
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)
v6.0.0-rc.2
- Updated minimum platform interface and implementation versions
- Added
CustomPathHandler
class to be able to implement Android custom path handlers forWebViewAssetLoader
v6.0.0-rc.1
- Updated minimum platform interface and implementation versions
- Added
InAppBrowser.onMainWindowWillClose
event - Added
WindowType.WINDOW
forInAppBrowserSettings.windowType
- Fixed "Cloudflare Turnstile failure" #1738
- Fixed
InAppWebViewController.callAsyncJavaScript
Android-issue when the last line of thefunctionBody
parameter includes a code comment
BREAKING CHANGES
- Default value of
InAppBrowserSettings.windowType
isWindowType.WINDOW
v6.0.0-beta.32
- Updated minimum platform interface and implementation versions
- Added
InAppWebViewSettings.interceptOnlyAsyncAjaxRequests
#1905 - Added
InAppWebViewController.clearFormData
Android-specific method - Added
InAppWebViewController.clearAllCache
static method - Added
CookieManager.removeSessionCookies
Android-specific method - Deprecated
InAppWebViewController.clearCache
andInAppWebViewSettings.clearCache
. UseInAppWebViewController.clearAllCache
static method instead - Deprecated
InAppWebViewSettings.clearSessionCache
. UseCookieManager.removeSessionCookies
method instead - Updated
useShouldInterceptAjaxRequest
automatic infer logic - Updated
CookieManager
methods return value - Fixed "iOS crash at public func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)" #1912
- Fixed "iOS Fatal Crash" #1894
- Fixed "getFavicons: _TypeError: type '_Map<String, dynamic>' is not a subtype of type 'Iterable'" #1897
- Fixed error in InterceptAjaxRequestJS 'Failed to set responseType property'
- Fixed shouldInterceptAjaxRequest javascript code when overriding XMLHttpRequest.open method parameters
- Fixed "onClosed not considering back navigation or up button / close button in ChromeSafariBrowser when using noHistory: true" #1882
- Merged "Fixed error in InterceptAjaxRequestJS 'Failed to set responseType property'" #1904 (thanks to EArminjon)
BREAKING CHANGE
- Due to Flutter platform channels async nature, using
useShouldInterceptAjaxRequest: true
would break sync ajax requests, so that theXMLHttpRequest.send()
will not wait for the response. To fix this issue, the default value ofInAppWebViewSettings.interceptOnlyAsyncAjaxRequests
istrue
. To intercept also sync ajax requests, this value should befalse
.
v6.0.0-beta.31
- Updated minimum platform interface and implementation versions
- Fixed events not called on
InAppBrowser
andChromeSafariBrowser
opening same instance multiple times
v6.0.0-beta.30
- Updated minimum platform interface and implementation versions
- Fixed "Crash when starting ChromeSafariBrowser on Android java.lang.NoSuchMethodError: No virtual method isEngagementSignalsApiAvailable" #1881
v6.0.0-beta.29
BREAKING CHANGES
- Plugin conversion to a Federated Plugin to better support multiple environments and implementations.
- Dart SDK min version
>= 2.17.0
- Android package name has been changed to
com.pichillilorenzo.flutter_inappwebview_android
. References to old package namecom.pichillilorenzo.flutter_inappwebview
should be updated, for example insideAndroidManifest.xml
file:<provider android:name="com.pichillilorenzo.flutter_inappwebview_android.InAppWebViewFileProvider" android:authorities="${applicationId}.flutter_inappwebview_android.fileprovider" ...
- Web Platform:
web_support.js
file path has been changed topackages/flutter_inappwebview_web/assets/web/web_support.js
v6.0.0-beta.28
- Added
ProcessGlobalConfig
for Android WebViews - Added
disableWebView
static method onInAppWebViewController
for Android - Added support for Android
WebViewFeature.isStartupFeatureSupported
,WebViewFeature.STARTUP_FEATURE_SET_DIRECTORY_BASE_PATHS
,WebViewFeature.STARTUP_FEATURE_SET_DATA_DIRECTORY_SUFFIX
,WebViewFeature.WEB_MESSAGE_ARRAY_BUFFER
- Added
WebMessage.type
property - Fixed "iOS EXC_BAD_ACCESS crash on kill app with InAppWebView keyboard open" #1837
- Fixed "Flutter Web - TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'. error" #1841
BREAKING CHANGES
WebMessage.data
property is of typedynamic
JavaScriptReplyProxy.postMessage
is of typeWebMessage
WebMessageListener.onPostMessage
andWebMessagePort.setWebMessageCallback
methods signature
v6.0.0-beta.27
- Added
requestPostMessageChannel
,postMessage
,isEngagementSignalsApiAvailable
methods onChromeSafariBrowser
for Android - Added
onMessageChannelReady
,onPostMessage
,onVerticalScrollEvent
,onGreatestScrollPercentageIncreased
,onSessionEnded
events onChromeSafariBrowser
for Android - Added
getPackageName
static method onChromeSafariBrowser
for Android