diff --git a/ExpoKit.podspec b/ExpoKit.podspec index 2778d2d9d1a88..47e7d708718c2 100644 --- a/ExpoKit.podspec +++ b/ExpoKit.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.summary = 'ExpoKit' s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.' s.homepage = 'http://docs.expo.io' - s.license = 'BSD' + s.license = 'MIT' s.author = "650 Industries, Inc." s.requires_arc = true s.platform = :ios, "9.0" diff --git a/LICENSE b/LICENSE index a87e167d0894f..30b20e3b5f0f4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,30 +1,21 @@ -BSD License +The MIT License (MIT) -For Exponent software +Copyright (c) 2015-present 650 Industries, Inc. (aka Expo) -Copyright (c) 2015-present, 650 Industries, Inc. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the names 650 Industries, Exponent, nor the names of its contributors - may be used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 2842909c2b11a..8ceabb4027c6a 100644 --- a/README.md +++ b/README.md @@ -118,4 +118,4 @@ For JS integration tests, test the `ExponentIntegrationTests` target (not includ Please check with us before putting work into a Pull Request! It is often harder to maintain code than it is to write it. The best place to talk to us is on Slack at https://slack.expo.io. ## License -The Expo source code is made available under the [BSD 3-clause license](LICENSE). Some of the dependencies are licensed differently, with the MIT license, for example. +The Expo source code is made available under the [MIT license](LICENSE). Some of the dependencies are licensed differently, with the BSD license, for example. diff --git a/apps/test-suite/package.json b/apps/test-suite/package.json index c7d50d2a1f717..072b9477d6cdc 100644 --- a/apps/test-suite/package.json +++ b/apps/test-suite/package.json @@ -7,7 +7,7 @@ "test": "cd Runner && yarn && cd .. && node Runner/index.js ." }, "author": "", - "license": "BSD-2-Clause", + "license": "MIT", "powertools": { "group": "client" }, diff --git a/apps/test-suite/runner/package.json b/apps/test-suite/runner/package.json index d3c43cfefc294..fa6905ac30544 100644 --- a/apps/test-suite/runner/package.json +++ b/apps/test-suite/runner/package.json @@ -7,7 +7,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", - "license": "BSD-2-Clause", + "license": "MIT", "dependencies": { "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-register": "^6.24.1", diff --git a/modules/TestSuite/ios/TestSuite/AppDelegate.h b/modules/TestSuite/ios/TestSuite/AppDelegate.h index a9654d5e01b18..d4f2580b1ea1b 100644 --- a/modules/TestSuite/ios/TestSuite/AppDelegate.h +++ b/modules/TestSuite/ios/TestSuite/AppDelegate.h @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import diff --git a/modules/TestSuite/ios/TestSuite/AppDelegate.m b/modules/TestSuite/ios/TestSuite/AppDelegate.m index 0a51097b9b794..6cf8ec1485804 100644 --- a/modules/TestSuite/ios/TestSuite/AppDelegate.m +++ b/modules/TestSuite/ios/TestSuite/AppDelegate.m @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import "AppDelegate.h" diff --git a/modules/TestSuite/ios/TestSuite/main.m b/modules/TestSuite/ios/TestSuite/main.m index 3d767fcbb9fce..c73e006253a31 100644 --- a/modules/TestSuite/ios/TestSuite/main.m +++ b/modules/TestSuite/ios/TestSuite/main.m @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import diff --git a/modules/camersja/ios/Camersja/AppDelegate.h b/modules/camersja/ios/Camersja/AppDelegate.h index a9654d5e01b18..d4f2580b1ea1b 100644 --- a/modules/camersja/ios/Camersja/AppDelegate.h +++ b/modules/camersja/ios/Camersja/AppDelegate.h @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import diff --git a/modules/camersja/ios/Camersja/AppDelegate.m b/modules/camersja/ios/Camersja/AppDelegate.m index fdd69ea028aba..14dbc95125b02 100644 --- a/modules/camersja/ios/Camersja/AppDelegate.m +++ b/modules/camersja/ios/Camersja/AppDelegate.m @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import "AppDelegate.h" diff --git a/modules/camersja/ios/Camersja/main.m b/modules/camersja/ios/Camersja/main.m index 3d767fcbb9fce..c73e006253a31 100644 --- a/modules/camersja/ios/Camersja/main.m +++ b/modules/camersja/ios/Camersja/main.m @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ #import diff --git a/modules/expo-analytics-segment/package.json b/modules/expo-analytics-segment/package.json index 5dc6bb686431f..4edbbe0abef00 100644 --- a/modules/expo-analytics-segment/package.json +++ b/modules/expo-analytics-segment/package.json @@ -9,7 +9,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/modules/expo-asset/package.json b/modules/expo-asset/package.json index dfe9912e94041..73480c1fb9e43 100644 --- a/modules/expo-asset/package.json +++ b/modules/expo-asset/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "expo-file-system": "^1.0.1", "react-native": "^0.55.4" diff --git a/modules/expo-camera-interface/package.json b/modules/expo-camera-interface/package.json index ad41557389614..fedd7e3e32152 100644 --- a/modules/expo-camera-interface/package.json +++ b/modules/expo-camera-interface/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-camera/package.json b/modules/expo-camera/package.json index b644883d98ea0..874909cae0218 100644 --- a/modules/expo-camera/package.json +++ b/modules/expo-camera/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react": "^16.4.0", "react-native": "^0.55.4" diff --git a/modules/expo-constants-interface/package.json b/modules/expo-constants-interface/package.json index 0cb1d0f8fbf85..c3e9ad93acf19 100644 --- a/modules/expo-constants-interface/package.json +++ b/modules/expo-constants-interface/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-constants/package.json b/modules/expo-constants/package.json index 7ca2f04204754..cc72f6f12d4fc 100644 --- a/modules/expo-constants/package.json +++ b/modules/expo-constants/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1", "expo-constants-interface": "^1.0.1" diff --git a/modules/expo-contacts/package.json b/modules/expo-contacts/package.json index c194dd4c199ea..63440af2ec27c 100644 --- a/modules/expo-contacts/package.json +++ b/modules/expo-contacts/package.json @@ -6,7 +6,7 @@ "keywords": ["react-native", "expo"], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.54.0" }, diff --git a/modules/expo-core/package.json b/modules/expo-core/package.json index 1d3257d304541..537dc80fbd669 100644 --- a/modules/expo-core/package.json +++ b/modules/expo-core/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "expo-react-native-adapter": "^1.0.1" } diff --git a/modules/expo-face-detector-interface/package.json b/modules/expo-face-detector-interface/package.json index e3c0af9ecc5f8..59d76de546766 100644 --- a/modules/expo-face-detector-interface/package.json +++ b/modules/expo-face-detector-interface/package.json @@ -12,7 +12,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-face-detector/package.json b/modules/expo-face-detector/package.json index c534488e6ca6c..108b433ad3df1 100644 --- a/modules/expo-face-detector/package.json +++ b/modules/expo-face-detector/package.json @@ -12,7 +12,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1", "expo-face-detector-interface": "^1.0.1", diff --git a/modules/expo-file-system-interface/package.json b/modules/expo-file-system-interface/package.json index 1be5aff9a8f68..278d3383ea97a 100644 --- a/modules/expo-file-system-interface/package.json +++ b/modules/expo-file-system-interface/package.json @@ -11,7 +11,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-file-system/package.json b/modules/expo-file-system/package.json index e4d5a3c33fc12..f9d269c43fbd7 100644 --- a/modules/expo-file-system/package.json +++ b/modules/expo-file-system/package.json @@ -11,7 +11,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1", "expo-file-system-interface": "^1.0.1", diff --git a/modules/expo-gl-cpp/package.json b/modules/expo-gl-cpp/package.json index d81b02d8c6e9f..6a45e29057fb1 100644 --- a/modules/expo-gl-cpp/package.json +++ b/modules/expo-gl-cpp/package.json @@ -13,7 +13,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-gl/package.json b/modules/expo-gl/package.json index a070095c28d76..bbb154cecc99c 100644 --- a/modules/expo-gl/package.json +++ b/modules/expo-gl/package.json @@ -12,7 +12,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "prop-types": "^15.6.1", "react": "^16.4.0", diff --git a/modules/expo-image-loader-interface/package.json b/modules/expo-image-loader-interface/package.json index 15b16cfdfb2ad..dc036f94e8645 100644 --- a/modules/expo-image-loader-interface/package.json +++ b/modules/expo-image-loader-interface/package.json @@ -9,7 +9,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/modules/expo-media-library/package.json b/modules/expo-media-library/package.json index 254810f0f02fd..2b83a41a22f75 100644 --- a/modules/expo-media-library/package.json +++ b/modules/expo-media-library/package.json @@ -9,7 +9,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/modules/expo-module-template/package.json b/modules/expo-module-template/package.json index 126c05d505a3b..e200d03f469c9 100644 --- a/modules/expo-module-template/package.json +++ b/modules/expo-module-template/package.json @@ -9,7 +9,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/modules/expo-permissions-interface/package.json b/modules/expo-permissions-interface/package.json index b108aadd0dec8..38c2353321358 100644 --- a/modules/expo-permissions-interface/package.json +++ b/modules/expo-permissions-interface/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-permissions/package.json b/modules/expo-permissions/package.json index 0d7ce43fe3d27..31552bf5a8eb6 100644 --- a/modules/expo-permissions/package.json +++ b/modules/expo-permissions/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1", "expo-permissions-interface": "^1.0.1" diff --git a/modules/expo-print/package.json b/modules/expo-print/package.json index 5d0d12f3312c7..9af7c75041093 100644 --- a/modules/expo-print/package.json +++ b/modules/expo-print/package.json @@ -9,7 +9,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/modules/expo-react-native-adapter/package.json b/modules/expo-react-native-adapter/package.json index 16d7875b3b8b5..1d68f68e180f3 100644 --- a/modules/expo-react-native-adapter/package.json +++ b/modules/expo-react-native-adapter/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react": "^16.3.1", "react-native": "^0.55.4" diff --git a/modules/expo-sensors-interface/package.json b/modules/expo-sensors-interface/package.json index c5b74620593eb..1e5c07169ba4a 100644 --- a/modules/expo-sensors-interface/package.json +++ b/modules/expo-sensors-interface/package.json @@ -15,7 +15,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1" } diff --git a/modules/expo-sensors/package.json b/modules/expo-sensors/package.json index eaff5a158487a..225d9577b9a45 100644 --- a/modules/expo-sensors/package.json +++ b/modules/expo-sensors/package.json @@ -15,7 +15,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "dependencies": { "expo-core": "^1.0.1", "expo-sensors-interface": "^1.0.1", diff --git a/modules/expo-sms/package.json b/modules/expo-sms/package.json index 30117f3018d51..1a852a12f78fe 100644 --- a/modules/expo-sms/package.json +++ b/modules/expo-sms/package.json @@ -10,7 +10,7 @@ ], "homepage": "https://docs.expo.io/", "author": "650 Industries, Inc.", - "license": "BSD", + "license": "MIT", "peerDependencies": { "react-native": "^0.55.4" }, diff --git a/react-native-lab/transformer.js b/react-native-lab/transformer.js index 02260f67cee29..8f4cd6a5d92d0 100644 --- a/react-native-lab/transformer.js +++ b/react-native-lab/transformer.js @@ -1,10 +1,8 @@ /** * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. * * Note: This is a fork of the fb-specific transform.js */ diff --git a/template-files/ios/ExpoKit.podspec b/template-files/ios/ExpoKit.podspec index c9be98112e5b3..8aed2418f5519 100644 --- a/template-files/ios/ExpoKit.podspec +++ b/template-files/ios/ExpoKit.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.summary = 'ExpoKit' s.description = 'ExpoKit allows native projects to integrate with the Expo SDK.' s.homepage = 'http://docs.expo.io' - s.license = 'BSD' + s.license = 'MIT' s.author = "650 Industries, Inc." s.requires_arc = true s.platform = :ios, "9.0"