v6.0.0-beta.32
pichillilorenzo
released this
12 Dec 21:30
·
117 commits
to master
since this release
- 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
.