Commit Graph

539 Commits

Author SHA1 Message Date
Lorenzo Pichilli f06097114d
Merge pull request #1017 from hoanglm4/master
fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS
2022-04-16 00:24:49 +02:00
Lorenzo Pichilli 6635a7e8df
Update HeadlessInAppWebView.swift 2022-04-16 00:24:16 +02:00
Lorenzo Pichilli d2520ca80b
Merge pull request #991 from Miiha/bugfix/url-request-mapping
Adds missing body to URLRequest mapping.
2022-04-16 00:00:01 +02:00
Lorenzo Pichilli 1b6ee3d974
Merge pull request #946 from randysecrist/rks-fix-mockserver-dep
switch android mockserver dependency with okhttp
2022-04-15 23:53:58 +02:00
Lorenzo Pichilli c41e95a44c
Merge pull request #889 from cloudygeek/patch-1
Update Options.swift
2022-04-15 23:48:03 +02:00
Lorenzo Pichilli 27c3e71faf
Merge branch 'develop' into patch-1 2022-04-15 23:46:12 +02:00
Lorenzo Pichilli 6e5669fb68 updated changelog 2022-04-15 23:45:17 +02:00
Lorenzo Pichilli 604ca71f50
Merge pull request #879 from milkinteractive/master
fix: use in NavigationAction request toMap method
2022-04-15 23:40:45 +02:00
Lorenzo Pichilli 45b68401b5
Merge pull request #868 from Ser1ous/master
fix bug when in String[] array come null
2022-04-15 23:32:33 +02:00
Lorenzo Pichilli 104eeab1cd Merge branch 'sungazer-io-master' into develop 2022-04-15 23:25:38 +02:00
Lorenzo Pichilli ca42fe0c26 merge 2022-04-15 23:24:07 +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 65e00b8d97
Merge pull request #1095 from sunalwaysknows/master
fix: ApplicationNameForUserAgent is not working in iOS
2022-04-15 20:35:50 +02:00
Lorenzo Pichilli af460d6746
Update InAppWebView.swift
removed setting `applicationNameForUserAgent` property from `prepare` method.
2022-04-15 20:35:23 +02:00
Lorenzo Pichilli d1aa8b0281
Merge pull request #828 from ItsCalebJones/bugfix/parsing_error
Fix parsing crash on null value.
2022-04-15 20:16:41 +02:00
Lorenzo Pichilli 099223a24e
Update Options.swift 2022-04-15 20:16:10 +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 d5a0257f5b Merge branch 'develop' of github.com:pichillilorenzo/flutter_inappwebview into develop 2022-04-15 19:18:15 +02:00
sunalwaysknows d8d84053bc Update: Append optional applicationNameForUserAgent to configrational applicationNameForUserAgent 2022-02-26 11:06:25 +08:00
Le Minh Hoang 42743f23eb
fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS 2021-10-24 23:11:21 +07:00
Michael Kao 4e47efe111 Adds missing body to URLRequest mapping. 2021-09-28 12:02:24 +02:00
Randy Secrist e29bc782d8 use okhttp instead of mockserver 2021-08-19 17:39:40 -06:00
Randy Secrist 66dca7b136 make mockserver a testImplementation dep 2021-08-19 15:37:04 -06:00
cloudygeek 3c60c15a81
Update Options.swift
checking if object is null before checking if nil. causes to crash if null.
2021-06-18 09:27:27 +01:00
Christoph Eck bedceb0a14 fix: use in NavigationAction request toMap method 2021-06-14 16:56:26 +02:00
aleksandrpaskevic 397998788b fix bug when in String[] array come null 2021-05-31 17:18:06 +03:00
Caleb Jones 19ffe781e6 Fix parsing crash on null value. 2021-05-03 10:31:54 -04:00
savy91 6e18699dd5 Make sure that when we want to open a new instance of a custom chrome tab, we are opening a new instance with the provided url and not an old instance. 2021-04-19 17:51:24 +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 9b610424d5 updated README.md 2021-04-06 18:14:41 +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 babbfa16eb improved HeadlessInAppWebView setSize and getSize docs 2021-03-30 18:34:49 +02:00
Lorenzo Pichilli d1ef59bdf3 Updated auto-comment.yml 2021-03-30 18:23:06 +02:00
Lorenzo Pichilli d68a56af02 Updated auto-comment.yml 2021-03-30 18:22:01 +02:00
Lorenzo Pichilli ac000804b9 Updated auto-comment.yml 2021-03-30 18:20:17 +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 a0e3bc2de7 fix #757 2021-03-26 21:34:42 +01: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 522b34f2fa v5.2.1 2021-03-24 10:58: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 b0384c99c8 updated README.md, updated BUG_REPORT.md template 2021-03-24 01:18:00 +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 01f2108304 updated donate link 2021-03-22 19:43:52 +01:00
Lorenzo Pichilli 3352c9cef0 v5.2.0 2021-03-22 16:39:58 +01:00
Lorenzo Pichilli f9eed42994
Merge pull request #737 from myroid/master
feat: fix proguard
2021-03-22 16:23:49 +01:00
Lorenzo Pichilli c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +01:00