0

I have to manage cookies (delete it) from my phonegap app running on a windows phone 8.

I've created a C# phonegap plugin. On the web, I've found that WebBroswer class can be the way to delete the cookies of my webView.

But I cannot find the exact way to access to this class from my phonegap plugin.

The phonegap plugin in windows phone 8 extends the "BaseCommand" phonegap class.

Any help will be really appreciated.

Julien T.

jtetrel
  • 93
  • 6

2 Answers2

2

This might be what you're looking for: http://github.com/bez4pieci/Phonegap-Cookies-Plugin

Usage:

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

ericpeters0n
  • 668
  • 7
  • 12
0

Since I'm currently unable to add a comment to either the orignal question or the answer by ericpeters0n I'm adding this answer to save time for anyone else reading....

Basically ericpeters0n suggestion is a dead end as the plugin does not support windows phone 8 and therefore does not answer the question

Edit: How can I clear the cookies in a windows phone 8 cordova plugin?

Community
  • 1
  • 1
andmar8
  • 331
  • 3
  • 14