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

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 = 'www.mobify.com'
const cookieName = 'cookie-name'
const cookieValue = 'cookie-value'
CookiesStore.setCookie(url, cookieName, cookieValue);

Methods

setCookie(url, cookieName, value) #

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