263 Commits

Author SHA1 Message Date
Lorenzo Pichilli
169bf2d340
Update InAppWebViewClient.java
Added more checks when trying to parse an URL using URI and allow the request to go to the flutter delegate.
2022-10-13 17:03:01 +02:00
Kamil Powałowski
93d9b41ed8 fix: Prevent Android java.lang.NullPointerException in InAppWebViewClient.onReceivedHttpAuthRequest view.getUrl() 2022-10-05 10:11:10 +02:00
Lorenzo Pichilli
9a3ae09fb4 added missin return to Util.invokeMethodIfExists 2022-10-04 12:21:50 +02:00
Lorenzo Pichilli
f5b474cd3b Added support for Android 33, Fixed possible null pointer exception in Android ChromeCustomTabsActivity.java, fix #1299, fix #1223, fix #1269, fix #1234, close #1307 2022-10-04 12:12:07 +02:00
Lorenzo Pichilli
ef9580b287 Fixed possible Android java.lang.NullPointerException in InAppBrowserActivity.onCreateOptionsMenu about webView.getTitle() 2022-05-05 22:00:44 +02:00
Lorenzo Pichilli
a6cb4105b1 fix #1173 2022-05-05 21:46:14 +02:00
Lorenzo Pichilli
afa3f33328 fix #1168 2022-05-05 21:01:09 +02:00
Lorenzo Pichilli
15ecdc86fb fixed #1166 2022-04-28 20:42:46 +02:00
Lorenzo Pichilli
04b001f499 fix #1159 2022-04-28 17:14:57 +02:00
Lorenzo Pichilli
ad04812a6e fix #1159 2022-04-28 13:39:59 +02:00
Lorenzo Pichilli
442b51db0f fix #1155 2022-04-26 13:55:24 +02:00
Lorenzo Pichilli
e07ba2a675 fix #1152 2022-04-25 17:39:04 +02:00
Lorenzo Pichilli
951b974dd3 fix #1151 2022-04-25 12:55:35 +02:00
Lorenzo Pichilli
f511e4d1f5 Fixed Android default context menu over custom context menu on API Level 31+ 2022-04-23 15:43:57 +02:00
Lorenzo Pichilli
2d31a2f58b Managed iOS native detachFromEngine flutter plugin event and updated dispose methods, Updated Android native HeadlessInAppWebViewManager.dispose and HeadlessInAppWebView.dispose methods 2022-04-23 04:02:37 +02:00
Lorenzo Pichilli
ce6e9066ba Fixed Android error in some cases when calling setServiceWorkerClient java method on ServiceWorkerManager initialization 2022-04-22 16:24:41 +02:00
Lorenzo Pichilli
7aade18701 Fixed Android ChromeCustomTabsActivity not responding to the ActionBroadcastReceiver 2022-04-20 03:15:28 +02:00
Alex Li
04f0ce78f9
Update AndroidManifest.xml 2022-04-19 14:58:58 +08:00
Lorenzo Pichilli
254ba1a1b8 using getWebViewLooper API for Android 28+ 2022-04-18 23:57:11 +02:00
Lorenzo Pichilli
2eb31ee74f fix #1137, fix #888 2022-04-18 23:12:17 +02:00
Lorenzo Pichilli
5510fd342f Added support for Android TWA (Trusted Web Activity) 2022-04-17 21:47:35 +02:00
Lorenzo Pichilli
c61019058c updated deprecated custom tabs builder method, added shareState android option for ChromeSafariBrowser 2022-04-17 19:05:16 +02:00
Lorenzo Pichilli
621d524dd6 trying to fix android null exception when bundle is null for InAppBrowserActivity and ChromeCustomTabsActivity 2022-04-17 18:22:01 +02:00
Lorenzo Pichilli
1325e6623c merge 2022-04-17 18:15:49 +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
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
270579898e
Merge pull request #1066 from chownation/patch-1
fix build error https://github.com/pichillilorenzo/flutter_inappwebview/issues/728
2022-04-16 12:18:40 +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
4075295199
Delete gradle-wrapper.properties 2022-04-16 12:17:06 +02:00
Lorenzo Pichilli
be1ffd1342 updated android gitignore 2022-04-16 11:41:15 +02:00
Lorenzo Pichilli
495956f312
Merge pull request #1050 from rsydor/patch-1
Fix Android Sometimes crash after close webpage and return to platform code.
2022-04-16 01:00:02 +02:00
Lorenzo Pichilli
96b6525781
Update InAppWebView.java 2022-04-16 00:59:44 +02:00
Lorenzo Pichilli
7d6772450b merge 2022-04-16 00:52:57 +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
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
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
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
Michael Chow
0e7c2905e1 fix build error https://github.com/pichillilorenzo/flutter_inappwebview/issues/728 2021-12-27 18:17:58 -05:00
rsydor
f43c8c2c68
Update InAppWebView.java
Fix crash
2021-12-06 17:09:57 +01: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
aleksandrpaskevic
397998788b fix bug when in String[] array come null 2021-05-31 17:18:06 +03: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
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