Skip to content

v5.4.0

Choose a tag to compare

@pichillilorenzo pichillilorenzo released this 18 Apr 22:55

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)