Skip to content

Releases: pichillilorenzo/flutter_inappwebview

v5.4.0+2

20 Apr 01:17
Compare
Choose a tag to compare

5.4.0+2

  • Fixed Android ChromeCustomTabsActivity not responding to the ActionBroadcastReceiver

v5.4.0+1

19 Apr 08:35
Compare
Choose a tag to compare

5.4.0+1

  • Merged "[Android] Explicitly export for the receiver defined in AndroidManifest" #1147 (thanks to AlexV525)

v5.4.0

18 Apr 22:55
Compare
Choose a tag to compare

5.4.0

  • getOriginalUrl method is cross-platform now
  • Updated Android compileSdkVersion to 31
  • Updated Flutter environment: sdk to >=2.14.0 <3.0.0 and flutter version to >=2.5.0
  • Added singleInstance option for Android ChromeSafariBrowser implementation
  • Added onDownloadStartRequest event and deprecated old onDownloadStart event
  • Added shareState Android option for ChromeSafariBrowser class
  • Added support for Android TWA (Trusted Web Activity)
  • Fixed missing onZoomScaleChanged call for InAppBrowser class
  • Fixed requestImageRef method always null on iOS
  • Fixed "applicationNameForUserAgent is not work in ios" #525
  • Fixed "Crash when try select file from webview input on Android" #867
  • Fixed "NavigationAction.request should use toMap method" #878
  • Fixed "Missing body field in URLRequest toMap method" #990
  • Fixed "iOS : createWindowAction.request.body in onCreateWindow() is NULL" #994
  • Fixed "Crash at HeadlessInAppWebView dispose" #881
  • Fixed "Crash happens when HeadlessInAppWebView's dispose function is called in iOS" #972
  • Fixed "In android, when click a href with img returns img src on onCreateWindow" #951
  • Fixed "crash at com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView$11.run (InAppWebView.java:1307)" #1040
  • Fixed "Unexpected behavior when using a null initialUrlRequest" #1063
  • Fixed "Local storage & cookie didn't persist when sharedCookie and cache both enabled" #1092
  • Fixed "ios zoomBy crash: Foundation/NSNumber.swift:467: Fatal error: Unable to bridge NSNumber to Float" #873
  • Fixed "In App Browser Crashing in Android - Action Bar is null" #1137
  • Fixed "Cannot load Javascript on some Android devices - Uncaught TypeError: Cannot read property 'appendChild' of null" #888
  • Merged "Update Options.swift" #889 (thanks to cloudygeek)
  • Merged "fix: Applicatio nNameForUserAgent is not working in iOS" #1095 (thanks to sunalwaysknows)
  • Merged "Make sure we open a new instance of a custom chrome chrome tab" #812 (thanks to savy-91)
  • Merged "fix bug when in String[] array come null" #868 (thanks to Ser1ous)
  • Merged "fix: use in NavigationAction request toMap method" #879 (thanks to chreck)
  • Merged "switch android mockserver dependency with okhttp" #946 (thanks to randysecrist)
  • Merged "Adds missing body to URLRequest mapping." #991 (thanks to Miiha)
  • Merged "fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS" #1017 (thanks to hoanglm4)
  • Merged "Fixes URL returned when taping image with href in onCreateWindow [Android]" #1042 (thanks to Manuito83)
  • Merged "Fix Android Sometimes crash after close webpage and return to platform code." #1050 (thanks to rsydor)
  • Merged "Add application/wasm MimeType with InAppLocalhostServer" #1054 (thanks to foxstream528)
  • Merged "Fixed the unexpected behavior of InAppWebView and HeadlessInAppWebView when initialUrlRequest was set as null." #1064 (thanks to RodXander)
  • Merged "updated com.android.tools.build:gradle" #1066 (thanks to chownation)
  • Merged "WIP - expose content-disposition and content-length from android" #1088 (thanks to ashank96)
  • Merged "Fix ios persistance when using sharedCookie" #1093 (thanks to EA-YOUHOU)
  • Merged "Fixes zoomBy with floats (iOS)" #1109 (thanks to Manuito83)
  • Merged "Build on and support Android 12 SDK 31" #1111 (thanks to carloserazo47)
  • Merged "Fix takeScreenshot Crash on iOS" #1123 (thanks to a00012025)
  • Merged "Feature. Possibility to disable iOS above keyboard inputAccessoryView" #1124 (thanks to cutzmf)

v5.3.2

07 Apr 16:58
Compare
Choose a tag to compare
  • Added onLoad and onError callbacks in ScriptHtmlTagAttributes class used by InAppWebViewController.injectJavascriptFileFromUrl
  • InAppWebViewController.injectJavascriptFileFromAsset returns a Future<dynamic> type now

v5.3.1+1

06 Apr 16:32
Compare
Choose a tag to compare
  • Removed duplicate lib exports
  • Fixed some rare cases when iOS WKWebView scrollViewDidEndDragging event blocks the scroll gesture

v5.3.1

02 Apr 13:19
Compare
Choose a tag to compare
  • Added support of allowingReadAccessTo iOS-specific WebView option for the WebView initialData parameter
  • Added iosAllowingReadAccessTo iOS-specific parameter to the loadData WebView method
  • Fixed "iOS webview showing blank page in specific URL" #776
  • Fixed "unable to access ApplicationDocumentsDirectory in real Ios devices" #748

v5.3.0+1

01 Apr 14:35
Compare
Choose a tag to compare
  • Fixed "Android - Pull to refresh triggered when scrolling container inside a website" #765
  • Fixed "InAppWebViewController.getHitTestResult" wrong type mapping

v5.3.0

28 Mar 02:18
Compare
Choose a tag to compare
  • Added initialSize property to the HeadlessInAppWebView class
  • Added setSize and getSize methods to the HeadlessInAppWebView class
  • androidOnScaleChanged WebView event is now deprecated. Use the new onZoomScaleChanged WebView event, that is available for both Android and iOS
  • getScale WebView method is now deprecated. Use the new getZoomScale WebView method
  • Removed final keyword for all HeadlessInAppWebView events
  • Fixed wrong usage of Android WebView scale property
  • Fixed "java.lang.NullPointerException: com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebViewRenderProcessClient$1.success(InAppWebViewRenderProcessClient.java:37)" #757
  • Fixed "In a multi-activity app, the plugin doesn't reattach to the first activity" #732
  • Fixed "ChromeSafariBrowser isn't calling its events, and not keeping track of isOpen properly" #759
  • Fixed Android ChromeSafariBrowser menu item callback not called because of PendingIntents extra were cached

v5.2.1+1

25 Mar 11:04
Compare
Choose a tag to compare
  • Fixed iOS "Unexpectedly found nil while unwrapping an Optional value: file flutter_inappwebview/WKUserContentController.swift, line 36" error when applePayAPIEnabled iOS-specific WebView option is enabled

v5.2.1

24 Mar 10:01
Compare
Choose a tag to compare
  • Added isRunning method to the HeadlessInAppWebView class
  • Added isRunning method to the InAppLocalhostServer class
  • Added allowGoBackWithBackButton and shouldCloseOnBackButtonPressed Android-specific InAppBrowser options
  • Fixed iOS WebMessageListener javascript implementation not calling event listeners when onmessage is set
  • Fixed onCreateContextMenu event on Android where hitTestResult has always null values
  • Fixed "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.SearchView.setQuery(java.lang.CharSequence, boolean)' on a null object reference" #742
  • Fixed Android js error in some very rare case where window.flutter_inappwebview is undefined when loading plugin scripts