Commit Graph

75 Commits

Author SHA1 Message Date
Lorenzo Pichilli a40831087f Added WebMessageChannel and WebMessageListener features, Updated Android Gradle distributionUrl version to 5.6.4, AndroidInAppWebViewController.getCurrentWebViewPackage is available now starting from Android API 21+, Attempt to fix #665, fix #579, Fixed wrong mapping of NavigationAction class on Android for androidHasGesture and androidIsRedirect properties 2021-03-11 22:42:18 +01:00
Lorenzo Pichilli 54b31ca885 fix #707 2021-03-08 17:23:34 +01:00
Lorenzo Pichilli 659c524908 fix #507 again 2021-03-08 10:22:13 +01:00
Lorenzo Pichilli c9f8466ac2 Fixed missing MATCH_PARENT layout params to the WebView on Android when it is wrapped by PullToRefreshLayout 2021-03-07 21:34:14 +01:00
Lorenzo Pichilli 237ba6efb4 Added a test for the pull-to-refresh feature when used on Android. 2021-03-06 16:10:31 +01:00
Lorenzo Pichilli b6d4fb9596 Added support for pull-to-refresh feature (fix #395), Fixed issue not rendering WebView content when scrolling on iOS (fix #704), Fixed InAppBrowser.openData method, InAppBrowser.initialUserScripts InAppBrowser.id HeadlessInAppWebView.id properties are final now 2021-03-05 23:19:50 +01:00
Lorenzo Pichilli 26feeeaf92 Fixed Android 'evaluateJavascript' method when using 'contentWorld: ContentWorld.PAGE' 2021-03-02 01:09:55 +01:00
Lorenzo Pichilli 0301190608 Updated docs for iOS-specific options alwaysBounceVertical and alwaysBounceHorizontal 2021-03-01 20:36:31 +01:00
Lorenzo Pichilli 03a09bffdc fix #696 2021-03-01 20:24:26 +01:00
Lorenzo Pichilli b41eb693a5 new stable version 5.0.5 2021-03-01 16:43:50 +01:00
Lorenzo Pichilli 74550d1186 Removed all the dependencies: uuid, device_info, intl, and mime 2021-03-01 03:21:07 +01:00
Lorenzo Pichilli 0df74b2978 Updated Android WebChromeClient.getDefaultVideoPoster, updated README.md 2021-02-28 18:04:02 +01:00
Lorenzo Pichilli de89f2637b Added headers and statusCode properties to IOSURLResponse class #693 2021-02-26 11:22:57 +01:00
Lorenzo Pichilli f92373cb62 Fixed Android screenshot out of memory error, Fixed getFavicons WebView method 2021-02-25 19:48:48 +01:00
Lorenzo Pichilli 441f4cb762 Fixed missing verticalScrollbarThumbColor, verticalScrollbarTrackColor, horizontalScrollbarThumbColor, horizontalScrollbarTrackColor Android-specific WebView options when calling native java setOptions() method on Android 2021-02-25 09:33:49 +01:00
Lorenzo Pichilli 1e63238eb8 updated README.md, Added verticalScrollbarThumbColor, verticalScrollbarTrackColor, horizontalScrollbarThumbColor, horizontalScrollbarTrackColor Android-specific WebView options, Fixed some null types and wrong casting 2021-02-25 00:00:46 +01:00
Lorenzo Pichilli 35cea5b01a prerelease 5.0.0-nullsafety.0 2021-02-22 23:59:11 +01:00
Lorenzo Pichilli 68f98754df code format 2021-02-22 23:54:09 +01:00
Lorenzo Pichilli 0b0bce66aa code refactoring, new features, replaced String url to Uri uri everywhere, added URLRequest 2021-02-22 12:16:23 +01:00
Lorenzo Pichilli 16f81326e3 updated .cirrus.yml and .travis.yml 2021-02-10 15:01:40 +01:00
Lorenzo Pichilli 77f09dd5b5 fixed iOS getCookies MyCookieManager, Added limited cookies support on iOS below 11.0 using JavaScript 2021-01-30 14:53:32 +01:00
Lorenzo Pichilli 26e63cedee Added support for Dart null-safety feature, Updated integration tests, Fixed missing properties initialization when using InAppWebViewController.fromInAppBrowser, Removed debuggingEnabled WebView option and added AndroidInAppWebViewController.setWebContentsDebuggingEnabled static method 2021-01-28 17:10:15 +01:00
Lorenzo Pichilli 3c4bbd604e Added Android Hybrid Composition support, fix #218 2020-08-27 16:41:40 +02:00
Lorenzo Pichilli f7af3130a4 Fixed iOS userContentController didReceive WKScriptMessage event when using a WebView created with a windowId 2020-07-03 20:12:52 +02:00
Lorenzo Pichilli b8ec14d6b6 Reverted calling handler.post on Android when a WebView is created, Fixed iOS extra bottom padding when opening the keyboard, fix #429 2020-07-02 17:30:55 +02:00
Lorenzo Pichilli eea691664b Updated onCreateWindow, onJsAlert, onJsConfirm, and onJsPrompt webview events, added onCloseWindow, onTitleChanged, onWindowFocus, and onWindowBlur webview events, added androidOnRequestFocus, androidOnReceivedIcon, androidOnReceivedTouchIconUrl, androidOnJsBeforeUnload, and androidOnReceivedLoginRequest Android-specific webview events, fix #403 2020-06-29 16:34:29 +02:00
Lorenzo Pichilli b4364ff5c9 Revert default InAppWebView.gestureRecognizers value to null on Android 2020-06-25 00:16:55 +02:00
Lorenzo Pichilli 477b94e03f Update README.md, Update missing docs, Fix pub.dev Health suggestions and Analysis suggestions, v3.4.0+1 2020-06-22 01:17:35 +02:00
Lorenzo Pichilli 64246d84d9 Added 'values' property for all the custom Enums, bug fixes 2020-06-19 21:59:43 +02:00
Lorenzo Pichilli 1b2de86375 added new webview methods, added supporZoom webview option on iOS, bug fixes, prepare new version 3.4.0 2020-06-12 04:04:41 +02:00
Lorenzo Pichilli 17d8aa1167 Updated Android build.gradle version and some androidx properties, fix #371, fix #320 2020-06-03 01:45:58 +02:00
Lorenzo Pichilli 428ecf7a31 updated README.md, fix #358 2020-05-23 12:32:27 +02:00
Lorenzo Pichilli f569e369f4 Updated Android context menu workaround, updated iOS onCreateContextMenu event, Added Android keyboard workaround to hide the keyboard when clicking other HTML elements 2020-05-21 23:02:08 +02:00
Lorenzo Pichilli 5943059b1d v3.2.0, added context menu classes, updated docs, fix #235, fix #337, fix #341 2020-05-21 03:34:39 +02:00
Lorenzo Pichilli 02c3de9280 added HeadlessInAppWebView class, added close, addMenuItem and addMenuItems methods to ChromeSafariBrowser, added ChromeSafariBrowserMenuItem class, fixed InAppWebView.channel null exception on android, fix #305, fix #245, fix #299 2020-05-11 02:48:41 +02:00
Lorenzo Pichilli efdc1ff6d7 updated pubspec.yaml 2020-05-09 05:01:11 +02:00
Lorenzo Pichilli 6a7963e4fd fixed android zoom, added new ios webview options, added
>  onLongPressHitTestResult event, updated test cases, fixed Promise polyfill, fixed android options
2020-05-09 04:36:07 +02:00
Lorenzo Pichilli 5e272c460f fix #182, updated java classes for Flutter 1.12 new Java Embedding API (Android) 2019-12-14 16:08:15 +01:00
Lorenzo Pichilli aa20beafb1 updated shouldOverrideUrlLoading event for #146, added print method and event #128, fix #123 javascript handler for Android API <= 22, renamed onTargetBlank to onCreateWindow event, deleted useOnTargetBlank option, added supportMultipleWindows android option, added getDefaultUserAgent static method, Updated default value for domStorageEnabled option to true 2019-12-10 00:29:09 +01:00
Lorenzo Pichilli 1df609b789 updated docs 2019-12-03 00:25:31 +01:00
Lorenzo Pichilli 6ba5b0c115 Added pause and resume methods for Android, Added pauseTimers and resumeTimers methods, Added new historyUrl optional parameter only for Android, fix #202, should fix #201 2019-12-03 00:07:29 +01:00
Lorenzo Pichilli ade4480c6d Fixed error 'java.lang.ClassCastException: cannot be cast to android.view.WindowManagerImpl' on Android when using native alert dialogs, updated README.md with Xcode version required 2019-12-01 12:55:06 +01:00
Lorenzo Pichilli 8a356bdef4 renamed plugin to flutter_inappwebview 2019-11-29 16:59:18 +01:00
Lorenzo Pichilli b0224c748a Added onPermissionRequest event (available only on Android) 2019-11-28 02:32:03 +01:00
Lorenzo Pichilli 2811fce463 updated webview options classes, fixed debuggingEnabled, added getTRexRunnerHtml and getTRexRunnerCss methods 2019-11-04 01:39:23 +01:00
Lorenzo Pichilli 299042f828 added getHtml method, updated android config, remove block on long press webview android, fixed other issues 2019-11-02 19:58:01 +01:00
Lorenzo Pichilli bc6bed1891 Added new WebView option minimumFontSize, Added new Android WebView options, Added new iOS WebView options, Added onGeolocationPermissionsShowPrompt event and GeolocationPermissionShowPromptResponse class (available only for Android), updated Android ContentBlocker, updated Android build.gradle compileSdkVersion 29 2019-10-28 04:58:25 +01:00
Lorenzo Pichilli 5fc1d405d3 updated plugin version, added new options to hide/show scrollbars #165, initial support for DownloadManager in Android and iOS 2019-10-25 03:21:03 +02:00
Lorenzo Pichilli f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02:00
pichillilorenzo da99de051a fix #98, fix #93, fix #80 2019-05-23 01:51:42 +02:00