Node v6
Starting with v0.19 Astro must be used with Node v6+!

Cookie Store Plugin

The Cookie Store single instance plugin allows manipulation of cookies in webviews.

Sample Usage

import CookiesStore from 'mobify-progressive-app-sdk/cookies-store';
const url = ''
const cookieName = 'cookie-name'
const cookieValue = 'cookie-value'
CookiesStore.setCookie(url, cookieName, cookieValue);


setCookie(url, cookieName, value) #

Sets the cookie with the given cookieName and value for the url.