sharee.bike-App/TINK/TINK.Android/Model/Device/WebView.cs

16 lines
446 B
C#
Raw Normal View History

2021-05-13 20:16:41 +02:00
using Android.Webkit;
using TINK.Model.Device;
[assembly: Xamarin.Forms.Dependency(typeof(TINK.Droid.Model.Device.WebView))]
namespace TINK.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();
}
}
}