kristianhristov / cordova-cookie-master

MIT License
26 stars 113 forks source link

Missing command error when setting cookie #8

Open krzysztofbialek opened 8 years ago

krzysztofbialek commented 8 years ago

When I do

    cookieMaster.setCookieValue('http://example.com>', 'cookie', 'value',
      function(data) {
          console.log('A cookie has been set');
      },
      function(error) {
          console.log('Error setting cookie: '+error);
      });
    })

I get this error instead of cookie being set.

Api v. 22, android 5.1.0

kristianhristov commented 8 years ago

Not sure if that might be causing the issue, but try removing the ">" at the end of the host URL. It might be causing an error on Java side when trying to set the host for the cookie.