Repository navigation
v3.0.0
·
1566 commits
to master
since this release
- Added
Promisejavascript polyfill for webviews that doesn't support it forwindow.flutter_inappwebview.callHandler - Added
getDefaultUserAgentstatic method toInAppWebViewController - Added
onUpdateVisitedHistory,onPrint,onLongPressHitTestResultevent - Added
androidOnGeolocationPermissionsHidePromptevent for Android webview - Added
iosOnWebContentProcessDidTerminate,iosOnDidCommit,iosOnDidReceiveServerRedirectForProvisionalNavigationevents for iOS webview - Added
supportMultipleWindowswebview option for Android - Added
regexToCancelSubFramesLoadingwebview option for Android to cancel subframe requests onshouldOverrideUrlLoadingevent based on a Regular Expression - Added
getContentHeight,zoomBy,printCurrentPage,getScalemethods - Added
getOriginalUrlwebview method for Android - Added
reloadFromOrigin,hasOnlySecureContentwebview methods for iOS - Added
automaticallyAdjustsScrollIndicatorInsets,accessibilityIgnoresInvertColors,decelerationRate,alwaysBounceVertical,alwaysBounceHorizontal,scrollsToTop,isPagingEnabled,maximumZoomScale,minimumZoomScalewebview options for iOS - Added
WebStorageManagerclass which manages the web storage used by WebView instances - Added
packageName#229 andkeepAliveEnabledChromeCustomTab options for Android - Updated for Flutter 1.12 new Java Embedding API (Android)
- Updated
clearCachefor Android - Updated default value for
domStorageEnabledanddatabaseEnabledoptions totruefor Android - Merge "Fixes null error when calling getOptions for InAppBrowser class" #214 (thanks to panndoraBoo)
- Merge "Fixes crash onConsoleMessage iOS forced unwrapping" #228 (thanks to tokonu)
- Merge "Fix HTTPCookie.secure" #311 (thanks to xtyxtyx)
- Merge "Fix config options for Android release builds" #295 (thanks to wwwdata)
- Merge "fix scrollbar on iOS always show if not disable scroll" #256 (thanks to phamnhuvu-dev)
- Merge "Fix crash on nil/invalid URL (iOS)" #262 (thanks to AlexVincent525)
- Merge "Fix crash when
promptwas called on Android Q." #262 (thanks to AlexVincent525) - Fix for Android and iOS
InAppBrowserfor some controller methods not exposed. - Fixed "App Crashes after clicking on dropdown (Using inappwebview)" #182
- Fixed "webview can not be released when in ios" #225. Now the iOS WebView is released from memory when it is disposed from Flutter.
- Fixed "Setting of presentationStyle not working on iOS" #213
- Fixed "Android zoom issues" #270
BREAKING CHANGES
- Updated
shouldOverrideUrlLoadingevent:- the
urlparameter has been moved inside an instance ofShouldOverrideUrlLoadingRequestclass - it has a return type
ShouldOverrideUrlLoadingActionto allow or cancel navigation instead of cancel every time the request
- the
- Renamed
onTargetBlanktoonCreateWindow - Deleted
useOnTargetBlankwebview option - Making methods available only for the specific platform more explicit: moved all the webview's controller methods for Android inside
controller.androidand all the webview's controller methods for iOS insidecontroller.ios - Making events available only for the specific platform more explicit:
- Renamed
onSafeBrowsingHittoandroidOnSafeBrowsingHit - Renamed
onGeolocationPermissionsShowPrompttoandroidOnGeolocationPermissionsShowPrompt - Renamed
onPermissionRequesttoandroidOnPermissionRequest
- Renamed
- Updated attribute names for
InAppWebViewWidgetOptions,InAppBrowserClassOptionsandChromeSafariBrowserClassOptionsclasses - Renamed and updated
onNavigationStateChangetoonUpdateVisitedHistory - Renamed all iOS and Android webview options class
- Renamed Chrome Custom Tab
addShareButtonoption toaddDefaultShareMenuItem - Renamed ChromeSafariBrowser
onLoadedtoonCompletedInitialLoad