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

16 lines
446 B
C#
Raw Normal View History

2021-11-07 19:42:59 +01: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();
}
}
}