Skip to content

v6.0.0-beta.32

Compare
Choose a tag to compare
@pichillilorenzo pichillilorenzo released this 12 Dec 21:30
· 67 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 and InAppWebViewSettings.clearCache. Use InAppWebViewController.clearAllCache static method instead
  • Deprecated InAppWebViewSettings.clearSessionCache. Use CookieManager.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 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.