Ben Anderson
a5be2c59be
Allow a cookie without a domain to be set on Android
...
The other CookieManager implementations in Flutter allow for no domain,
as the Android CookieManager implementation. By providing a default
domain, applications cannot opt-out of the default
CookieManager.setCookie behaviour (which prepends a "period" to the
domain), which is treated as a different domain by Webkit on Android.
This leads to multiple cookies for the same URL if the server serves a
cookie without a domain, or with a domain that does not contain a
leading period.
Note, iOS's setCookie doesn't take a url parameter (at least in the way
it's called from flutter_inappwebview) and instead this is passed an
attribute on the HTTPCookie object itself (originURL). When constructing
a HTTPCookie you must supply either originURL OR domain. Both a
permitted, but at least one must be present. [1]
By making domain optional, without a default, on both platforms,
consumers can now set cookies that don't use the domain attribute but
still allows for setting a domain when required.
[1] https://developer.apple.com/documentation/foundation/httpcookie/1392975-init
2022-08-30 15:29:05 +12:00
Lorenzo Pichilli
ee1b0d7ff7
Fixed possible Android java.lang.NullPointerException in InAppBrowserActivity.onCreateOptionsMenu about webView.getTitle()
2022-05-05 22:00:54 +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
f58eea323a
Merge branch 'bugfix/issue-1173'
2022-05-05 21:48:23 +02:00
Lorenzo Pichilli
a6cb4105b1
fix #1173
2022-05-05 21:46:14 +02:00
Lorenzo Pichilli
1fbabf1e8f
Merge branch 'bugfix/issue-1168'
2022-05-05 21:26:01 +02:00
Lorenzo Pichilli
8e06d1d1b4
fix deprecated reference in doc
2022-05-05 21:23:00 +02:00
Lorenzo Pichilli
afa3f33328
fix #1168
2022-05-05 21:01:09 +02:00
Lorenzo Pichilli
c947ad0e5f
format
2022-04-28 21:17:44 +02:00
Lorenzo Pichilli
18c3e04fd2
fix #1164
2022-04-28 21:16:58 +02:00
Lorenzo Pichilli
15ecdc86fb
fixed #1166
2022-04-28 20:42:46 +02:00
Lorenzo Pichilli
a14bdce16c
updated no-response.yml
2022-04-28 17:58:47 +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
9aa812e130
added Bitwise OR operator support for AndroidActionModeMenuItem class
2022-04-26 21:24:21 +02:00
Lorenzo Pichilli
442b51db0f
fix #1155
2022-04-26 13:55:24 +02:00
Lorenzo Pichilli
f885a0537f
fixed code example
2022-04-25 18:00:10 +02:00
Lorenzo Pichilli
c48c1814a4
Merge branch 'feature/android-custom-tabs-custom-action-button'
2022-04-25 17:43:39 +02:00
Lorenzo Pichilli
9a09e93656
updated version
2022-04-25 17:43:22 +02:00
Lorenzo Pichilli
e2afcea986
updated pubspec.yaml
2022-04-25 17:41:14 +02:00
Lorenzo Pichilli
e07ba2a675
fix #1152
2022-04-25 17:39:04 +02:00
Lorenzo Pichilli
07768cdc81
fixed android dependencies error in release mode
2022-04-25 13:51:47 +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
d1e4dc55d0
updated example
2022-04-22 16:32:03 +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
Lorenzo Pichilli
cac89da621
updated version, updated readme
2022-04-19 10:28:53 +02:00
Lorenzo Pichilli
414b2075eb
Merge pull request #1147 from AlexV525/patch-1
...
[Android] Explicitly `export` for the receiver defined in AndroidManifest
2022-04-19 10:22:49 +02:00
Alex Li
04f0ce78f9
Update AndroidManifest.xml
2022-04-19 14:58:58 +08:00
Lorenzo Pichilli
304792c020
fixed AndroidChromeCustomTabsOptions.addDefaultShareMenuItem docs
2022-04-19 02:12:15 +02:00
Lorenzo Pichilli
7307d473fa
dartfmt, fixed pubspec.yaml
2022-04-19 00:42:57 +02: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
83dae97fda
updated integration tests
2022-04-18 02:59:46 +02:00
Lorenzo Pichilli
75c7473e3e
Merge branch 'ppldo-possibility_disable_ios_inputAccessoryView' into develop
2022-04-18 01:27:11 +02:00
Lorenzo Pichilli
1eaf70a046
merge
2022-04-18 01:26:39 +02:00
Lorenzo Pichilli
4cffd1da73
Merge branch 'possibility_disable_ios_inputAccessoryView' of https://github.com/ppldo/flutter_inappwebview into ppldo-possibility_disable_ios_inputAccessoryView
2022-04-18 01:16:59 +02:00
Lorenzo Pichilli
66e2844d03
Updated changelog
2022-04-18 01:15:11 +02:00
Lorenzo Pichilli
50793429d7
Merge pull request #1123 from kryptogo/master
...
Fix takeScreenshot Crash on iOS
2022-04-18 01:08:39 +02:00
Lorenzo Pichilli
194106b802
updated docs for ChromeSafariBrowserMenuItem
2022-04-17 21:51:15 +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
cdb29caefc
Merge branch 'carloserazo47-issue_location/build_on_and_support_android_12_sdk_31' into develop
2022-04-17 18:16:25 +02:00
Lorenzo Pichilli
1325e6623c
merge
2022-04-17 18:15:49 +02:00
Lorenzo Pichilli
f541436566
Merge branch 'issue_location/build_on_and_support_android_12_sdk_31' of https://github.com/carloserazo47/flutter_inappwebview into carloserazo47-issue_location/build_on_and_support_android_12_sdk_31
2022-04-17 17:53:36 +02:00
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