I have tried playing with the standard 1.3 angular $cookies, I’ve tried playing with ipCookies and I can’t get the very bare basic cookie example to work when on the device itself.
I’m testing this on android 5.0.2 and I’m using the chrome remote debugger to try and see what’s going on.
It seems that no matter what I do I just cannot set a cookie as following the simplest examples always returns
Does anyone have a basic example of simply setting and getting a cookie in angular that works inside cordova, on device?
My last resort is to try and revert to using jquery, which, although I have a perfectly good piece of working jquery code, I really really don’t want to do, I want to use pure angular.
I also notice that adding the bower component using
ionic add angular-cookies doesn’t seem to work, I had to install it manually??? Strangely
ionic add angular-cookie, (i.e. the ipCookies plugin) does work though.