-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
I have used the code as you explained.
Please check the issue that i am getting.
Here is my code,
var options = { name: 'username', value: 'abcdefg', domain: 'http://localhost:8081/', origin: 'http://localhost:8081/', path: '/', expiration: 'Thu, 18 Dec 2016 12:00:00 UTC', };
CookieManager.default.set(options,(res) => {
alert("Set cookie"+res);
});
I am executing this on click of a button for testing.
Then i am using the below code to get cookie
CookieManager.default.getAll((res) => {
alert(JSON.stringify(res));
});
But then the cookie is null. it alerts me this {}
Metadata
Metadata
Assignees
Labels
No labels