Commit Graph

43 Commits

Author SHA1 Message Date
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
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 7d6c88d622 fix #765, Fixed InAppWebViewController.getHitTestResult wrong type mapping, added auto-comment.yml 2021-03-30 18:15:50 +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 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 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 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 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 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 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 82f1dee4a1 fixed flutter analyze warnings 2021-02-26 11:27:29 +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 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 de9d081af2 fix #679, updated X509Certificate classes, removed androidOnRequestFocus event
because it is never called
2021-02-12 17:14:13 +01:00
Lorenzo Pichilli 5f6a8969c2 added other tests, added github action workflow 2021-02-11 10:21:22 +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 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 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 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 6b84f0ad2e updated github template 2020-06-22 17:48:32 +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 b0c06c6146 updated X509Certificate class 2020-06-16 00:25:29 +02:00
Lorenzo Pichilli 6c2a60714e Added SslCertificate class and X509Certificate class and parser, updated ServerTrustChallenge class 2020-06-15 02:08:23 +02:00
Lorenzo Pichilli 208d6c732c added onPageCommitVisible event, updated dart code for new events and methods, updated docs, fix #367 2020-05-29 01:03:45 +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 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 b9fb01f177 fix #225, merged #228, updated ios options naming, updated default value for databaseEnabled android option, added new methods and events 2019-12-16 23:58:10 +01: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 8a356bdef4 renamed plugin to flutter_inappwebview 2019-11-29 16:59:18 +01:00