@shengoo/react-native-cookie-manager

## Getting started

Usage no npm install needed!

<script type="module">
  import shengooReactNativeCookieManager from 'https://cdn.skypack.dev/@shengoo/react-native-cookie-manager';
</script>

README

react-native-cookie-manager

Getting started

$ npm install react-native-cookie-manager --save

Mostly automatic installation

$ react-native link react-native-cookie-manager

Manual installation

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add com.sheng00.ReactNativeCookieManager.RNCookieManagerPackage; to the imports at the top of the file
  • Add new RNCookieManagerPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-cookie-manager'
    project(':react-native-cookie-manager').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-cookie-manager/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-cookie-manager')
    

Usage

import RNCookieManager from 'react-native-cookie-manager';

// TODO: What to do with the module?
RNCookieManager;