flutter_polywebview 4.0.0+1
flutter_polywebview: ^4.0.0+1 copied to clipboard
A Flutter plugin that allows you to add an inline webview or open an in-app browser window.
4.0.0+1 #
- Fixing ios Class and podspec name
4.0.0 #
- Added pull request from wwwdata github
- Changin name flutter_inappwebview to flutter_polywebview
3.0.0 #
- Added
Promisejavascript polyfill for webviews that doesn't support it forwindow.flutter_inappwebview.callHandler - Added
getDefaultUserAgentstatic method toInAppWebViewController - Added
onUpdateVisitedHistory,onPrintevent - Added
onGeolocationPermissionsHidePromptevent for Android - 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
reloadFromOriginwebview method for iOS - Added
automaticallyAdjustsScrollIndicatorInsetswebview options for iOS - Added
WebStorageManagerclass which manages the web storage used by WebView instances - 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)
- 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.
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 options prefix from
IostoIOS
2.1.0+1 #
- Fix docs
2.1.0 #
- Added
pauseandresumemethods for Android. - Added
pauseTimersandresumeTimersmethods. - Added new
historyUrloptional parameter forloadDataandopenDatamethods andInAppWebViewInitialDataclass. It is used only on Android. - Fix "problems with onReceivedHttpAuthRequest when initialData is used" #201
- Fix "System ui (status bar and navigation bar) doesn't hide automatically" #202
2.0.1+1 #
- Fixed error "java.lang.ClassCastException: $Proxy1 cannot be cast to android.view.WindowManagerImpl" on Android when using native alert dialogs
2.0.1 #
- Added
onPermissionRequestevent. This event is fired when the webview is requesting permission to access the specified resources and the permission currently isn't granted or denied (available only on Android).
2.0.0 #
- Merge "Avoid null pointer exception after webview is disposed" #116 (thanks to robsonfingo)
- Merge "Remove async call in close" #119 (thanks to benfingo)
- Merge "Android takeScreenshot does not work properly." #122 (thanks to PauloMelo)
- Merge "Resolving gradle error." #144 (thanks to Klingens13)
- Merge "Create issue and pull request templates" #150 (thanks to deandreamatias)
- Merge "Fix abstract method error && swift version error" #155 (thanks to AlexVincent525)
- Merge "migrating to swift 5.0" #162 (thanks to fattiger00)
- Merge "Update readme example" #178 (thanks to SebastienBtr)
- Merge "handle choose file callback in android" #183 (thanks to crazecoder)
- Merge "add initialScale in android" #186 (thanks to crazecoder)
- Added
horizontalScrollBarEnabledandverticalScrollBarEnabledoptions to enable/disable the corresponding scrollbar of the WebView #165 - Added
onDownloadStartevent anduseOnDownloadStartoption: event fires when the WebView recognizes and starts a downloadable file. - Added
onLoadResourceCustomSchemeevent andresourceCustomSchemesoption to set custom schemes that WebView must handle to load resources - Added
onTargetBlankevent anduseOnTargetBlankoption to manage links withtarget="_blank" - Added
ContentBlocker,ContentBlockerTriggerandContentBlockerActionclasses and thecontentBlockersoption that allows to define a set of rules to use to block content in the WebView - Added new WebView options:
minimumFontSize,debuggingEnabled,preferredContentMode,applicationNameForUserAgent,incognito,cacheEnabled,disableVerticalScroll,disableHorizontalScroll - Added new Android WebView options:
allowContentAccess,allowFileAccess,allowFileAccessFromFileURLs,allowUniversalAccessFromFileURLs,appCachePath,blockNetworkImage,blockNetworkLoads,cacheMode,cursiveFontFamily,defaultFixedFontSize,defaultFontSize,defaultTextEncodingName,disabledActionModeMenuItems,fantasyFontFamily,fixedFontFamily,forceDark,geolocationEnabled,layoutAlgorithm,loadWithOverviewMode,loadsImagesAutomatically,minimumLogicalFontSize,needInitialFocus,offscreenPreRaster,sansSerifFontFamily,serifFontFamily,standardFontFamily,saveFormData,thirdPartyCookiesEnabled,hardwareAcceleration - Added new iOS WebView options:
isFraudulentWebsiteWarningEnabled,selectionGranularity,dataDetectorTypes,sharedCookiesEnabled - Added
onGeolocationPermissionsShowPromptevent andGeolocationPermissionShowPromptResponseclass (available only for Android) - Added
startSafeBrowsing,setSafeBrowsingWhitelistandgetSafeBrowsingPrivacyPolicyUrlmethods (available only for Android) - Added
clearSslPreferencesandclearClientCertPreferencesmethods (available only for Android) - Added
onSafeBrowsingHitevent (available only for Android) - Added
onJsAlert,onJsConfirmandonJsPromptevents to manage javascript popup dialogs - Added
onReceivedHttpAuthRequestevent - Added
clearCache,scrollTo,scrollBy,getHtml,injectJavascriptFileFromAssetandinjectCSSFileFromAssetmethods method - Added
HttpAuthCredentialDatabaseclass - Added
onReceivedServerTrustAuthRequestandonReceivedClientCertRequestevents to manage SSL requests - Added
onFindResultReceivedevent,findAllAsync,findNextandclearMatchesmethods - Added
shouldInterceptAjaxRequest,onAjaxReadyStateChange,onAjaxProgressandshouldInterceptFetchRequestevents withuseShouldInterceptAjaxRequestanduseShouldInterceptFetchRequestwebview options - Added
onNavigationStateChangeandonLoadHttpErrorevents - Fun: added
getTRexRunnerHtmlandgetTRexRunnerCssmethods to get html (with javascript) and css to recreate the Chromium's t-rex runner game
BREAKING CHANGES #
- Deleted
WebResourceRequestclass - Updated
WebResourceResponseclass - Updated
ConsoleMessageclass - Updated
ConsoleMessageLevelclass - Updated
onLoadResourceevent - Updated
CookieManagerclass - WebView options are now available with the new corresponding classes:
InAppWebViewOptions,AndroidInAppWebViewOptions,iOSInAppWebViewOptions,InAppBrowserOptions,AndroidInAppBrowserOptions,iOSInAppBrowserOptions,AndroidChromeCustomTabsOptionsandiOSSafariOptions - Renamed
getFavicontogetFavicons, now it returns a list of all favicons (List<Favicon>) found - Renamed
injectScriptFiletoinjectJavascriptFileFromUrl - Renamed
injectScriptCodetoevaluateJavascript - Renamed
injectStyleCodetoinjectCSSCode - Renamed
injectStyleFiletoinjectCSSFileFromUrl
1.2.2 #
- Merge "added a shared WKProcessPool for webview instances" #198 (thanks to robertcnst)
- Fixed iOS setCookie.
1.2.1 #
- Merge "Add new option to control the contentMode in Android platform" #101 (thanks to DreamBuddy)
- Merge "Fix crash on xcode 10.2" #107 (thanks to robsonfingo)
- Merge "Remove headers_build_phase from example's Podfile" #108 (thanks to robsonfingo)
- Fixed "Make html5 video fullscreen" for Android #43
- Fixed "AllowsInlineMediaPlayback not working" for iOS #73
1.2.0 #
- Merge "Adds a transparentBackground option for iOS and Android" #86 (thanks to matthewlloyd)
- Merge "The 'open' method requires an options dictionary" #87 (thanks to matthewlloyd)
- Merge "iOS: Call setNeedsLayout() in scrollViewDidScroll()" #88 (thanks to matthewlloyd)
- Fixed "java.lang.RuntimeException: Methods marked with @UiThread must be executed on the main thread." #98 (thanks to DreamBuddy)
- Fixed "app force close/crash when enabling zoom and repeatedly changing orientation and zoomin zoomout" #93
- Added
displayZoomControlswebview option for Android - Fixed "Compatibility with other plugins" #80
1.1.3 #
- Merge "Add null checks around calls to InAppWebView callbacks" #85 (thanks to matthewlloyd)
1.1.2 #
- Fix InAppBrowser crashes the app when i change the page "Lost connection" #74
- Fix javascript
...argsparameter ofwindow.flutter_inappwebview.callHandler() - Merge Enable setTextZoom function of Android WebViewSetting #81 (thanks to YouCii)
- Merge bug fix for android build: Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime (1.0.1) classpath #83 (thanks to cinos1)
1.1.1 #
- Fixed README.md and
addJavaScriptHandlermethod documentation
1.1.0 #
1.0.1 #
- Fixed Unable to load initialFile on iOS #56
- Some code cleanup
1.0.0 #
Breaking changes:
- Fixed Flutter AndroidX compatibility, the latest version that doesn't use
AndroidXis0.6.0(thanks to juicycleff).
0.6.0 #
- added support for iOS inline native WebView integrated in the flutter widget tree
- updated example folder (thanks to marquesinijatinha)
- Fixed bug where passing null to expiresDate failed (thanks to Sense545)
- Fixed iOS error: encode resourceURL (thanks to igtm)
- Fixed iOS error: Double value cannot be converted to Int because the result would be greater than Int.max in 32-bit devices (thanks to huzhiren)
- Fixed iOS error: problem in ChromeSafariBrowser (thanks to marquesinijatinha)
- Fixed Android build error caused by gradle and build gradle versions (thanks to tje3d)
- Updated
uuiddependency to^2.0.0
0.5.51 #
- updated
pubspec.yaml - updated
README.md
0.5.5 #
- added
getUrlmethod for theInAppWebViewControllerclass - added
getTitlemethod for theInAppWebViewControllerclass - added
getProgressmethod for theInAppWebViewControllerclass - added
getFaviconmethod for theInAppWebViewControllerclass - added
onScrollChangedevent for theInAppWebViewControllerandInAppBrowserclass - added
onBrowserCreatedevent for theInAppBrowserclass - added
openDatamethod for theInAppBrowserclass - added
initialDataproperty for theInAppWebViewwidget
0.5.4 #
- added
WebHistoryandWebHistoryItemclass - added
getCopyBackForwardList,goBackOrForward,canGoBackOrForwardandgoTomethods for theInAppWebViewControllerclass
0.5.3 #
- added
CookieManagerclass
0.5.2 #
- fixed some missing
result.success()on Android and iOS - added
postUrl()method for theInAppWebViewControllerclass - added
loadData()method for theInAppWebViewControllerclass
0.5.1 #
- updated README.md
0.5.0 #
- added initial support for Inline WebViews using the
InAppWebViewwidget - added
InAppBrowser.openFile()method - added
InAppBrowser.onProgressChanged()event - moved
InAppBrowserWebView related functions on theInAppWebViewControllerclass - added
InAppLocalhostServerclass - added
InAppWebView.canGoBack()andInAppWebView.canGoForward()methods - removed
openWithSystemBrowserandisLocalFileoption. Now use the corresponding method - code refactoring
0.4.1 #
- added
InAppBrowser.takeScreenshot() - added
InAppBrowser.setOptions() - added
InAppBrowser.getOptions()
0.4.0 #
- removed
targetparameter toInAppBrowser.open()method. To open the url on the system browser, use theopenWithSystemBrowser: trueoption - fixes for the
_ChannelManagerprivate class - fixed
EXC_BAD_INSTRUCTIONonLoadStart in Swift - added
openWithSystemBrowserandisLocalFileoptions - added
InAppBrowser.openWithSystemBrowsermethod - added
InAppBrowser.openOnLocalhostmethod - added
InAppBrowser.loadFilemethod - added
InAppBrowser.isOpenedmethod
0.3.2 #
- fixed WebView.storyboard path for iOS
0.3.1 #
- fixed README.md example
0.3.0 #
- fixed WebView.storyboard to deployment target 8.0
- added
InAppBrowser.onLoadResource()method. The event fires when the InAppBrowser webview loads a resource - added
InAppBrowser.addJavaScriptHandler()andInAppBrowser.removeJavaScriptHandler()methods to add/remove javascript message handlers - removed
keyboardDisplayRequiresUserActionfrom iOS available options - now the
urlparameter ofInAppBrowser.open()is optional. The default value isabout:blank
0.2.1 #
- added
InAppBrowser.onConsoleMessage()method to manage console messages - fixed
InAppBrowser.injectScriptCode()method when there is not a return value
0.2.0 #
- added support of Chrome CustomTabs for Android
- added support of SFSafariViewController for iOS
- added the ability to create multiple instances of browsers
0.1.1 #
- updated/added new methods
- updated UI of android/iOS in-app browser
- code cleanup
- added new options when opening the in-app browser
0.0.1 #
Initial release.