🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cordova-remove-cookies-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-remove-cookies-plugin

Cordova Plugin to remove cookies for iOS and Android

0.0.3
latest
Source
npm
Version published
Maintainers
1
Created
Source

Phonegap/Cordova Cookies Plugin

Phonegap/Cordova plugin that allows you to clear cookies of the webview. Use it for logging out the user, restart analytics session etc.

Why a plugin?

On Phonegap document.cookie is empty, since index.html and all other files are loaded with file:// protocol. Phonegap manages cookies internally, but doesn't expose any function for clearing them.

Installation

Cookies is compatible with Cordova Plugman and ready for the PhoneGap 3.0 CLI, here's how it works with the CLI:

$ cordova plugin add cordova-remove-cookies-plugin

Usage

window.cookies.clear(function() {
	console.log('Cookies cleared!');
});

Bitdeli Badge

Keywords

cordova

FAQs

Package last updated on 18 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts