Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# React Native Cookies - A Cookie Manager for React Native
Cookie Manager for React Native

This module was ported from [joeferraro/react-native-cookies](https://github.com/joeferraro/react-native-cookies). This would not exist without the work of the original author, [Joe Ferraro](https://github.com/joeferraro).

## Maintainers
- [Jason Safaiyeh](https://github.com/safaiyeh) ([Twitter @safaiyeh](https://twitter.com/safaiyeh)) from [Sumo Logic](https://www.sumologic.com)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Joseph P. Ferraro
*
* This source code is licensed under the MIT license found in the
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

package com.reactnativecommunity.cookies;

import com.facebook.react.modules.network.ForwardingCookieHandler;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Joseph P. Ferraro
*
* This source code is licensed under the MIT license found in the
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

package com.reactnativecommunity.cookies;

import com.facebook.react.ReactPackage;
Expand Down
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Joseph P. Ferraro
*
* This source code is licensed under the MIT license found in the
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

import { NativeModules, Platform } from 'react-native';
const invariant = require('invariant');
const RNCookieManagerIOS = NativeModules.RNCookieManagerIOS;
Expand Down
8 changes: 7 additions & 1 deletion ios/RNCookieManagerIOS/RNCookieManagerIOS.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// RNCookieManagerIOS.h
/**
* Copyright (c) Joseph P. Ferraro
*
* This source code is licensed under the MIT license found in the
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
Expand Down
7 changes: 7 additions & 0 deletions ios/RNCookieManagerIOS/RNCookieManagerIOS.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* Copyright (c) Joseph P. Ferraro
*
* This source code is licensed under the MIT license found in the
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
*/

#import "RNCookieManagerIOS.h"
#if __has_include("RCTConvert.h")
#import "RCTConvert.h"
Expand Down