Flutter Inappwebview Versions Save

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.

v6.0.0

3 months ago
  • Updated minimum platform interface and implementation versions
  • Merged "Added == operator and hashCode to WebUri" #1941 (thanks to daisukeueta)

v6.0.0-rc.3

4 months ago
  • 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

4 months ago
  • 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

4 months ago
  • 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

4 months ago
  • 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

4 months ago
  • 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

4 months ago
  • 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

4 months ago

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

5 months ago
  • 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

5 months ago
  • 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