sharee.bike-App/ShareeBike/ShareeBike.Android/Model/Device/WebView.cs
2024-04-09 12:53:23 +02:00

16 lines
No EOL
413 B
C#

using Android.Webkit;
using ShareeBike.Model.Device;
[assembly: Xamarin.Forms.Dependency(typeof(ShareeBike.Droid.Model.Device.WebView))]
namespace ShareeBike.Droid.Model.Device
{
public class WebView : IWebView
{
/// <summary> Clears the cookie cache for all web views. </summary>
public void ClearCookies()
{
var cookieManager = CookieManager.Instance;
cookieManager.RemoveAllCookie();
}
}
}