Ernests Karlsons 4dfebe4ac1 Merge pull request #1 from leecrossley/patch-1
Copy/paste error ; ) thanx for the fix!
2013-12-02 15:24:25 -08:00
2013-12-02 16:01:38 +01:00
2013-12-02 16:01:38 +01:00
2013-12-02 16:01:38 +01:00
2013-12-02 06:47:08 -08:00
2013-12-02 16:01:38 +01:00
2013-12-02 18:36:25 +00:00
2013-12-02 16:04:55 +01:00

Phonegap 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, 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:

$ phonegap local plugin add https://github.com/bez4pieci/Phonegap-Cookies-Plugin.git

Usage

window.cookies.clear(function() {
	console.log('Cookies cleared!');
});
Description
No description provided
Readme 60 KiB
Languages
Java 35.8%
Objective-C 34.5%
JavaScript 29.7%