kristianhristov / cordova-cookie-master

MIT License
26 stars 113 forks source link

How to use #3

Open justqyx opened 8 years ago

justqyx commented 8 years ago

After running

cordova plugin add https://github.com/kristianhristov/cordova-cookie-master.git

I could not use window.cookieMaster.setCookieValue('http://example.com', 'AUTH_TOKEN')

Do I miss something?

kristianhristov commented 8 years ago

You seem to be missing the cookie key.

For example: window.cookieMaster.setCookieValue('http://example.com', 'auth', 'AUTH_TOKEN')