Skip to content

Commit de556c1

Browse files
authored
chore(docs): Add attribution to Joe Ferraro (#20)
* Added Joe Ferraro copyright notice * Update link * Add copyright to index.js * Lint
1 parent 4a16472 commit de556c1

File tree

6 files changed

+37
-1
lines changed

6 files changed

+37
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# React Native Cookies - A Cookie Manager for React Native
22
Cookie Manager for React Native
33

4+
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).
5+
46
## Maintainers
57
- [Jason Safaiyeh](https://github.com/safaiyeh) ([Twitter @safaiyeh](https://twitter.com/safaiyeh)) from [Sumo Logic](https://www.sumologic.com)
68

android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Joseph P. Ferraro
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
6+
*/
7+
18
package com.reactnativecommunity.cookies;
29

310
import com.facebook.react.modules.network.ForwardingCookieHandler;

android/src/main/java/com/reactnativecommunity/cookies/CookieManagerPackage.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Joseph P. Ferraro
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
6+
*/
7+
18
package com.reactnativecommunity.cookies;
29

310
import com.facebook.react.ReactPackage;

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Joseph P. Ferraro
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
6+
*/
7+
18
import { NativeModules, Platform } from 'react-native';
29
const invariant = require('invariant');
310
const RNCookieManagerIOS = NativeModules.RNCookieManagerIOS;

ios/RNCookieManagerIOS/RNCookieManagerIOS.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
// RNCookieManagerIOS.h
1+
/**
2+
* Copyright (c) Joseph P. Ferraro
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
6+
*/
7+
28
#if __has_include("RCTBridgeModule.h")
39
#import "RCTBridgeModule.h"
410
#else

ios/RNCookieManagerIOS/RNCookieManagerIOS.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Joseph P. Ferraro
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file here: https://github.com/joeferraro/react-native-cookies/blob/master/LICENSE.md.
6+
*/
7+
18
#import "RNCookieManagerIOS.h"
29
#if __has_include("RCTConvert.h")
310
#import "RCTConvert.h"

0 commit comments

Comments
 (0)