mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-14 14:26:28 +01:00
16 lines
446 B
C#
16 lines
446 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|