dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.96k stars 1.7k forks source link

[Enhancement] Consistent handling of cookies across platforms #1785

Open mikeparker104 opened 3 years ago

mikeparker104 commented 3 years ago

Summary

Cookies are persisted across app sessions on Android whereas on iOS they're not. It would be ideal to have control over this behavior regardless of any inconsistencies that may exist between the underlying platform components.

API Changes

Provide the ability to configure the cookie persistence behavior from Xamarin.Forms.

e.g.

WebView.CookiePersistence = CookiePersistence.None; // new API

Options could indicatively include:

Intended Use Case

Having more granular control over cookie persistence without creating a custom WebView.

ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.