sharee.bike-App/LastenradBayern/ShareeBike.Android/Model/Device/WebView.cs

16 lines
413 B
C#
Raw Normal View History

2021-11-07 19:42:59 +01:00
using Android.Webkit;
2024-04-09 12:53:23 +02:00
using ShareeBike.Model.Device;
2021-11-07 19:42:59 +01:00
2024-04-09 12:53:23 +02:00
[assembly: Xamarin.Forms.Dependency(typeof(ShareeBike.Droid.Model.Device.WebView))]
namespace ShareeBike.Droid.Model.Device
2021-11-07 19:42:59 +01:00
{
2022-09-06 16:08:19 +02:00
public class WebView : IWebView
{
/// <summary> Clears the cookie cache for all web views. </summary>
public void ClearCookies()
{
var cookieManager = CookieManager.Instance;
cookieManager.RemoveAllCookie();
}
}
2021-11-07 19:42:59 +01:00
}