Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 395 Bytes

File metadata and controls

21 lines (14 loc) · 395 Bytes

@gpsgate/react-native-cookies

@gpsgate/react-native-cookies

Installation

yarn add git+https://github.com/gpsgate/react-native-cookies.git

Usage

import CookieManager from "@gpsgate/react-native-cookies";

// Clear all cookies
await CookieManager.clearAll();

// Get all cookies for the specified domain
const cookies = await CookieManager.get("https://domain");