mirror of
https://github.com/bez4pieci/Phonegap-Cookies-Plugin
synced 2026-05-25 00:03:21 +08:00
Updated README
This commit is contained in:
@@ -3,14 +3,12 @@ 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.
|
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?
|
## Why a plugin?
|
||||||
|
|
||||||
On Phonegap `document.cookie` is empty, index.html and all other files are loaded with `file://` protocol.
|
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.
|
Phonegap manages cookies internally, but doesn't expose any function for clearing them.
|
||||||
|
|
||||||
## Installation:
|
## Installation
|
||||||
|
|
||||||
### Automatically (CLI / Plugman)
|
|
||||||
|
|
||||||
Cookies is compatible with [Cordova Plugman](https://github.com/apache/cordova-plugman) and ready for the [PhoneGap 3.0 CLI](http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface_add_features), here's how it works with the CLI:
|
Cookies is compatible with [Cordova Plugman](https://github.com/apache/cordova-plugman) and ready for the [PhoneGap 3.0 CLI](http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html#The%20Command-line%20Interface_add_features), here's how it works with the CLI:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user