Releases: pichillilorenzo/flutter_inappwebview
Releases · pichillilorenzo/flutter_inappwebview
v5.4.0+2
5.4.0+2
- Fixed Android
ChromeCustomTabsActivity
not responding to theActionBroadcastReceiver
v5.4.0+1
v5.4.0
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 AndroidChromeSafariBrowser
implementation - Added
onDownloadStartRequest
event and deprecated oldonDownloadStart
event - Added
shareState
Android option forChromeSafariBrowser
class - Added support for Android TWA (Trusted Web Activity)
- Fixed missing
onZoomScaleChanged
call forInAppBrowser
class - Fixed
requestImageRef
method alwaysnull
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
- Added
onLoad
andonError
callbacks inScriptHtmlTagAttributes
class used byInAppWebViewController.injectJavascriptFileFromUrl
InAppWebViewController.injectJavascriptFileFromAsset
returns aFuture<dynamic>
type now
v5.3.1+1
- Removed duplicate lib exports
- Fixed some rare cases when iOS WKWebView
scrollViewDidEndDragging
event blocks the scroll gesture
v5.3.1
- Added support of
allowingReadAccessTo
iOS-specific WebView option for the WebViewinitialData
parameter - Added
iosAllowingReadAccessTo
iOS-specific parameter to theloadData
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
v5.3.0
- Added
initialSize
property to theHeadlessInAppWebView
class - Added
setSize
andgetSize
methods to theHeadlessInAppWebView
class androidOnScaleChanged
WebView event is now deprecated. Use the newonZoomScaleChanged
WebView event, that is available for both Android and iOSgetScale
WebView method is now deprecated. Use the newgetZoomScale
WebView method- Removed
final
keyword for allHeadlessInAppWebView
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
- 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
- Added
isRunning
method to theHeadlessInAppWebView
class - Added
isRunning
method to theInAppLocalhostServer
class - Added
allowGoBackWithBackButton
andshouldCloseOnBackButtonPressed
Android-specific InAppBrowser options - Fixed iOS
WebMessageListener
javascript implementation not calling event listeners whenonmessage
is set - Fixed
onCreateContextMenu
event on Android wherehitTestResult
has alwaysnull
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
isundefined
when loading plugin scripts