diff --git a/README.md b/README.md index 8d50d72..9a9c24b 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java b/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java index 57ce812..5f72299 100644 --- a/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java +++ b/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java @@ -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; diff --git a/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerPackage.java b/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerPackage.java index 904d345..cc88f2c 100644 --- a/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerPackage.java +++ b/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerPackage.java @@ -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; diff --git a/index.js b/index.js index ceb61ba..bdce697 100644 --- a/index.js +++ b/index.js @@ -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; diff --git a/ios/RNCookieManagerIOS/RNCookieManagerIOS.h b/ios/RNCookieManagerIOS/RNCookieManagerIOS.h index e9d2101..a80d253 100644 --- a/ios/RNCookieManagerIOS/RNCookieManagerIOS.h +++ b/ios/RNCookieManagerIOS/RNCookieManagerIOS.h @@ -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 diff --git a/ios/RNCookieManagerIOS/RNCookieManagerIOS.m b/ios/RNCookieManagerIOS/RNCookieManagerIOS.m index bfe272d..6fdb1fc 100644 --- a/ios/RNCookieManagerIOS/RNCookieManagerIOS.m +++ b/ios/RNCookieManagerIOS/RNCookieManagerIOS.m @@ -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"