Commit Graph

282 Commits

Author SHA1 Message Date
Lorenzo Pichilli 2a6b76cd5f updated .gitignore example 2022-04-17 17:53:13 +02:00
Lorenzo Pichilli 489b115038
Merge branch 'develop' into issue_location/build_on_and_support_android_12_sdk_31 2022-04-17 17:32:05 +02:00
Lorenzo Pichilli 4edd47ef92 updated changelog 2022-04-17 17:22:20 +02:00
Lorenzo Pichilli fab9ae4c8b updated pubspec.yaml 2022-04-17 17:13:15 +02:00
Lorenzo Pichilli 65e06984cb fix #1092 2022-04-17 16:43:16 +02:00
Lorenzo Pichilli 25e9ea6e19 updated version and changelog 2022-04-17 16:35:43 +02:00
Lorenzo Pichilli 22649342e8 added onDownloadStartRequest event 2022-04-17 16:19:31 +02:00
Lorenzo Pichilli 1e287fd1d3 Merge branch 'ashank-patch' of https://github.com/ashank96/flutter_inappwebview into ashank96-ashank-patch 2022-04-16 12:38:52 +02:00
Lorenzo Pichilli 5c9e1216d2 removed .idea folder from repo, updated build.gradle example 2022-04-16 12:32:17 +02:00
Lorenzo Pichilli c55e468c7e updated some .gitignore files, deleted gradle wrapper android plugin directory 2022-04-16 12:17:50 +02:00
Lorenzo Pichilli 5666c685b2 updated changelog 2022-04-16 11:28:55 +02:00
Lorenzo Pichilli f52f832656 merge 2022-04-16 01:10:57 +02:00
Lorenzo Pichilli 7d6772450b merge 2022-04-16 00:52:57 +02:00
Lorenzo Pichilli 85e45ca00a updated changelog, fixed implementation param when creating headless webview 2022-04-16 00:30:28 +02:00
Lorenzo Pichilli 710fc1e021 Added singleInstance option for Android ChromeSafariBrowser implementation, updated android compileSdkVersion to 31 2022-04-15 23:18:54 +02:00
Lorenzo Pichilli f074b7a011 created android InAppWebViewInterface to implement other android webview engines, getOriginalUrl method is cross-platform now, Fixed requestImageRef method always null on iOS 2022-04-15 19:20:35 +02:00
Carlos Erazo 4f28ba5bbe compileSdkVersion and targetSdkVersion upgraded to 31 2022-03-08 10:18:51 +01:00
Carlos Erazo 6fcf757df6 Android 12 support 2022-03-07 18:16:25 +01:00
ashank96 8f43faf832 expose contentdisposition and contentlength from android 2022-02-17 15:00:46 +05:30
Lorenzo Pichilli f06bcdf695 Added onLoad and onError callbacks in ScriptHtmlTagAttributes class used by InAppWebViewController.injectJavascriptFileFromUrl, InAppWebViewController.injectJavascriptFileFromAsset returns a Future<dynamic> type now 2021-04-07 18:34:35 +02:00
Lorenzo Pichilli 539ff0dedc Removed duplicate lib exports, Fixed some rare cases when iOS WKWebView scrollViewDidEndDragging event blocks the scroll gesture 2021-04-06 11:54:42 +02:00
Lorenzo Pichilli ffaa28a250 fix #776, fix #748, Added support of allowingReadAccessTo iOS-specific WebView option for the WebView initialData parameter, Added iosAllowingReadAccessTo iOS-specific parameter to the loadData WebView method 2021-04-02 15:18:28 +02:00
Lorenzo Pichilli 71a8fe23ea fix #732, fix #759, Fixed Android ChromeSafariBrowser menu item callback not called because of PendingIntents extra were cached 2021-03-28 04:17:09 +02:00
Lorenzo Pichilli 22ea0091cd Added initialSize property and setSize/getSize methods to the HeadlessInAppWebView class, androidOnScaleChanged event is deprecated - use onZoomScaleChanged event, getScale method is deprecated - use getZoomScale method, Removed final keyword for all HeadlessInAppWebView events, Fixed wrong usage of Android WebView scale property 2021-03-26 21:04:44 +01:00
Lorenzo Pichilli 14d06fad48 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 2021-03-25 12:01:05 +01:00
Lorenzo Pichilli 825cf3d88e Added isRunning method to the InAppLocalhostServer class, Fixed Android js error in some very rare case where window.flutter_inappwebview is undefined when loading plugin scripts 2021-03-24 10:57:26 +01:00
Lorenzo Pichilli b2d0f3a61d updated docs, Added allowGoBackWithBackButton and shouldCloseOnBackButtonPressed Android-specific InAppBrowser options 2021-03-23 21:53:42 +01:00
Lorenzo Pichilli a3e4da3e61 Added isRunning method to the HeadlessInAppWebView class, Fixed iOS WebMessageListener javascript implementation not calling event listeners when onmessage is set, Fixed onCreateContextMenu event on Android where hitTestResult has always null values, fix #742 2021-03-23 17:13:40 +01:00
Lorenzo Pichilli 3352c9cef0 v5.2.0 2021-03-22 16:39:58 +01:00
Lorenzo Pichilli c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +01:00
Lorenzo Pichilli 97edbe158f Added Android pull-to-refresh setSize method and size option, Updated Android androidx.webkit:webkit to 1.4.0, androidx.browser:browser to 1.3.0, androidx.appcompat:appcompat to 1.2.0, updated docs 2021-03-19 17:34:32 +01:00
Lorenzo Pichilli 6f356be623 Fixed ajax and fetch interceptor when the data/body sent is not a string, fix #724, updated nodejs test server 2021-03-18 17:24:13 +01:00
Lorenzo Pichilli bcc5fc68ba fix #719, Fixed iOS sometimes scrollView.contentSize doesn't fit all the frame.size available, Added canScrollVertically and canScrollHorizontally webview methods 2021-03-13 15:24:31 +01:00
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 237ba6efb4 Added a test for the pull-to-refresh feature when used on Android. 2021-03-06 16:10:31 +01:00
Lorenzo Pichilli 5cc257895c Updated README.md, updated example 2021-03-05 23:29:25 +01:00
Lorenzo Pichilli c7c0b9b67f fix example, fix #703 2021-03-05 23:24:33 +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 a8858020f2 fix publish.sh script 2021-03-01 20:26:57 +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 82f1dee4a1 fixed flutter analyze warnings 2021-02-26 11:27:29 +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 f886f2f1e5 bug fixes, fix #450, updated integration tests 2021-02-22 23:38:30 +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 de9d081af2 fix #679, updated X509Certificate classes, removed androidOnRequestFocus event
because it is never called
2021-02-12 17:14:13 +01:00
Lorenzo Pichilli e9f5cabd2b fix #678 2021-02-11 17:40:13 +01:00
Lorenzo Pichilli 3d10785fb7 fixed integration tests 2021-02-11 12:50:41 +01:00
Lorenzo Pichilli e9da7c805d fixed integration tests 2021-02-11 11:59:55 +01:00
Lorenzo Pichilli 275688dfb9 updated flutter-drive.yml 2021-02-11 10:50:27 +01:00
Lorenzo Pichilli 5f6a8969c2 added other tests, added github action workflow 2021-02-11 10:21:22 +01:00
Lorenzo Pichilli dd1754041b updated .cirrus.yml and .travis.yml 2021-02-11 00:38:02 +01:00
Lorenzo Pichilli f94e489ced fix docs 2021-02-10 21:29:45 +01:00
Lorenzo Pichilli 90e5d0a736 added applePayAPIEnabled iOS-specific WebView options, fix #605 2021-02-10 21:22:52 +01:00
Lorenzo Pichilli ba5b5e6970 updated .cirrus.yml and .travis.yml, updated example integration test dependency 2021-02-10 17:09:36 +01:00
Lorenzo Pichilli 53653a1733 updated .cirrus.yml and .travis.yml 2021-02-10 16:06:17 +01:00
Lorenzo Pichilli 16f81326e3 updated .cirrus.yml and .travis.yml 2021-02-10 15:01:40 +01:00
Lorenzo Pichilli 4469ec7a62 fixed Options.parse iOS method, updated .cirrus.yml 2021-02-10 04:14:58 +01:00
Lorenzo Pichilli 2cd0948620 Added iosShouldAllowDeprecatedTLS iOS-specific WebView event 2021-02-10 02:32:05 +01:00
Lorenzo Pichilli 0e4e16562d Added scriptHtmlTagAttributes optional argument to injectJavascriptFileFromUrl WebView method, Added cssLinkHtmlTagAttributes optional argument to injectCSSFileFromUrl WebView method 2021-02-09 21:11:50 +01:00
Lorenzo Pichilli 88bfe9036f added createWebArchiveData iOS-specific WebView method, Moved saveWebArchive WebView method from Android-specific to cross-platform 2021-02-09 01:39:35 +01:00
Lorenzo Pichilli b15ae759d5 added createPdf ios webview method, fixed null config takeScreenshot android exception 2021-02-08 18:28:35 +01:00
Lorenzo Pichilli 3f1ed3ba70 added ScreenshotConfiguration class and screenshotConfiguration optional argument to takeScreenshot WebView method 2021-02-08 01:17:12 +01:00
Lorenzo Pichilli 5a4e2fda0f updated CHANGELOG.md, Added iosAnimated optional argument to zoomBy WebView method 2021-02-07 16:37:01 +01:00
Lorenzo Pichilli 7c5931b0f9 Added callAsyncJavaScript WebView method, fix #642, fix #614 2021-02-07 16:05:39 +01:00
Lorenzo Pichilli 55242a35f9 updated management of Content Worlds, updated evaluateJavascript API 2021-02-06 02:30:15 +01:00
Lorenzo Pichilli 54e027bee0 fix example main.dart 2021-02-04 22:06:04 +01:00
Lorenzo Pichilli 37fa32b31e added AndroidWebViewFeature, AndroidServiceWorkerController, AndroidServiceWorkerClient classes 2021-02-04 21:54:09 +01:00
Lorenzo Pichilli a023d34fd9 Added mediaType, pageZoom, limitsNavigationsToAppBoundDomains iOS-specific webview options, Added handlesURLScheme iOS-specific webview method, Added ContentWorld class, minor bug fixes 2021-02-04 01:43:55 +01:00
Lorenzo Pichilli 37546a1dc0 fix #662 2021-02-03 15:17:15 +01:00
Lorenzo Pichilli 8368483d84 removed unneeded Java code obj.put(uuid, uuid) on Android 2021-02-01 16:22:25 +01:00
Lorenzo Pichilli cf0c2029ff Added addUserScript, addUserScripts, removeUserScript, removeUserScripts, removeAllUserScripts WebView methods, Added initialUserScripts WebView option, Added UserScript and UserScriptInjectionTime classes, updated README.md, fix some wrong iOS swift return value on method call handler, added InAppWebViewMethodHandler native class 2021-02-01 15:55:27 +01:00
Lorenzo Pichilli a5b90a33d0 removed code line in example 2021-01-31 22:08:53 +01:00
Lorenzo Pichilli a04f9eab10 updated ios Cookie Manager, Added IOSCookieManager class and CookieManager.instance().ios.getAllCookies iOS-specific method, updated README.md 2021-01-31 22:08:20 +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 57557407a5
Merge branch 'master' into feature/android-11 2021-01-29 01:15:53 +01:00
Lorenzo Pichilli f968d8e5d9 updated CHANGELOG.md, fix #596 2021-01-29 00:57:30 +01:00
Lorenzo Pichilli e46a531090 remove print(await controller.getOptions()); code line from the example 2021-01-28 19:01:16 +01:00
Lorenzo Pichilli d96ea02876 fix #654, updated README.md 2021-01-28 18:56:04 +01:00
Lorenzo Pichilli c65e72c708 updated README.md 2021-01-28 17:18:02 +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
Michael Rittmeister 4b24901571
Add support for Android 11
- Reflect package visibility settings in documentation
- Upgrade android projects (lib & example)
- Cleanup ChromeSafariBrowserManager.java
- Upgrade Android dependencies
2020-09-26 11:35:06 +02:00
Lorenzo Pichilli eaad17eb4f Fixed missing clearHistory webview method implementation on Android, Fixed iOS crash when using CookieManager getCookies for an URL and the host URL is null 2020-09-07 18:10:46 +02:00
Lorenzo Pichilli a83dca01eb Fixed missing clearHistory webview method implementation on Android, Fixed iOS crash when using CookieManager getCookies for an URL and the host URL is null 2020-09-07 18:10:26 +02:00
Lorenzo Pichilli adbd8d4f6c fix #506 2020-09-07 12:39:29 +02:00
Lorenzo Pichilli 5476d142f4 fix #507 2020-09-07 10:32:24 +02:00
Lorenzo Pichilli 5b5620282d updated CHANGELOG.md 2020-09-07 10:12:24 +02:00
Lorenzo Pichilli 093d2cb68c updated android androidx.webkit:webkit:1.3.0, fixed default value for AndroidInAppBrowserOptions.hideTitleBar 2020-08-27 17:05:47 +02:00
Lorenzo Pichilli 3c4bbd604e Added Android Hybrid Composition support, fix #218 2020-08-27 16:41:40 +02:00
Lorenzo Pichilli 4f5127d899 Merge branch 'master' of github.com:pichillilorenzo/flutter_inappwebview 2020-08-27 15:45:48 +02:00