Skip to content

Releases: pichillilorenzo/flutter_inappwebview

v6.0.0-rc.2

18 Dec 11:45
Compare
Choose a tag to compare
  • Updated minimum platform interface and implementation versions
  • Added CustomPathHandler class to be able to implement Android custom path handlers for WebViewAssetLoader

v6.0.0-rc.1

17 Dec 22:07
Compare
Choose a tag to compare
  • Updated minimum platform interface and implementation versions
  • Added InAppBrowser.onMainWindowWillClose event
  • Added WindowType.WINDOW for InAppBrowserSettings.windowType
  • Fixed "Cloudflare Turnstile failure" #1738
  • Fixed InAppWebViewController.callAsyncJavaScript Android-issue when the last line of the functionBody parameter includes a code comment

BREAKING CHANGES

  • Default value of InAppBrowserSettings.windowType is WindowType.WINDOW

v6.0.0-beta.32

12 Dec 21:30
Compare
Choose a tag to compare
  • 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.

v6.0.0-beta.31

04 Dec 03:43
Compare
Choose a tag to compare
  • Updated minimum platform interface and implementation versions
  • Fixed events not called on InAppBrowser and ChromeSafariBrowser opening same instance multiple times

v6.0.0-beta.30

28 Nov 01:45
Compare
Choose a tag to compare
  • 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

27 Nov 18:34
Compare
Choose a tag to compare

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 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 Platform: web_support.js file path has been changed to packages/flutter_inappwebview_web/assets/web/web_support.js

v6.0.0-beta.28

14 Nov 23:58
Compare
Choose a tag to compare
  • Added ProcessGlobalConfig for Android WebViews
  • Added disableWebView static method on InAppWebViewController 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 type dynamic
  • JavaScriptReplyProxy.postMessage is of type WebMessage
  • WebMessageListener.onPostMessage and WebMessagePort.setWebMessageCallback methods signature

v6.0.0-beta.27

12 Nov 19:33
Compare
Choose a tag to compare
  • Added requestPostMessageChannel, postMessage, isEngagementSignalsApiAvailable methods on ChromeSafariBrowser for Android
  • Added onMessageChannelReady, onPostMessage, onVerticalScrollEvent, onGreatestScrollPercentageIncreased, onSessionEnded events on ChromeSafariBrowser for Android
  • Added getPackageName static method on ChromeSafariBrowser for Android

v6.0.0-beta.26

11 Nov 18:29
Compare
Choose a tag to compare
  • Throw an error if any controller is used after being disposed
  • CookieManager.deleteCookies wait for all delete cookie completion handler to be completed on iOS and macOS
  • Updated return value for CookieManager.setCookie method to be Future<bool>. The return value indicates whether the cookie was set successfully
  • Merged "feat(ios): optional tradeoff to fix ios input delay" #1665 (thanks to andreasgangso)
  • Merged "Fix ios multiple flutter presenting error" #1736 (thanks to AlexT84)
  • Merged "fix cert parsing for ios 12" #1822 (thanks to darkang3lz92)
  • Merged "Fix iOS and macOS Forced unwrap null value HTTPCookie for CookieManager.setCookie" #1677 (thanks to maxmitz)
  • Merged "android imm.isAcceptingText() crash fix" #1827 (thanks to AlexDochioiu)
  • Merged "fix: chrome tab open failed due to chrome process not running" #1772 (thanks to YumengNevix)
  • Merged "Android - Fix context menu position for pages with horizontal scroll" #1504 (thanks to lrorpilla)
  • Fixed "iOS about:blank popup not loading page" #1500
  • Fixed "iOS macOS - This method should not be called on the main thread as it may lead to UI unresponsiveness" #1678
  • Fixed iOS and macOS InAppWebView memory leaks

v6.0.0-beta.25

02 Oct 21:51
Compare
Choose a tag to compare
  • Updated androidx.webkit:webkit dependency to 1.8.0
  • Updated androidx.browser:browser dependency to 1.6.0
  • Merged "feat: InAppLocalhostServer decode assets url when loading them" #1657 (thanks to Nirajn2311)
  • Merged "fix: xcode 15 related bug" #1801 (thanks to nesquikm)