expo-constants-interface
Advanced tools
Comparing version 2.1.0-alpha.0 to 3.0.0
{ | ||
"name": "expo-constants-interface", | ||
"version": "2.1.0-alpha.0", | ||
"description": "Expo Constants interface package", | ||
"version": "3.0.0", | ||
"description": "An interface for expo-constants.", | ||
"main": "index.js", | ||
@@ -18,6 +18,9 @@ "keywords": [ | ||
}, | ||
"devDependencies": { | ||
"expo-module-scripts": "^1.0.0" | ||
}, | ||
"author": "650 Industries, Inc.", | ||
"license": "MIT", | ||
"homepage": "https://github.com/expo/expo/tree/master/packages/expo-constants-interface", | ||
"gitHead": "f15abc53c111bd0438cd36dc456c59cfa7c56a58" | ||
"gitHead": "d87c47ba13c7dde7a5d120caf873c98258a42710" | ||
} |
# expo-constants-interface | ||
`expo-constants-interface` is an interface for [expo-constants](https://www.npmjs.com/package/expo-constants). | ||
An interface for expo-constants. | ||
Read [expo-core docs](https://github.com/expo/expo/tree/master/packages/expo-core) for more details about module interfaces. | ||
# Installation | ||
This package is pre-installed in [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects. You may skip the rest of the installation guide if this applies to you. | ||
For bare React Native projects, you must ensure that you have [installed and configured the `@unimodules/core` package](https://github.com/unimodules/core) before continuing. | ||
### Add the package to your npm dependencies | ||
``` | ||
npm install expo-constants-interface | ||
``` | ||
### Configure for iOS | ||
Add the dependency to your `Podfile` and then run `pod install`. | ||
```ruby | ||
pod 'EXConstantsInterface', path: '../node_modules/expo-constants-interface/ios' | ||
``` | ||
### Configure for Android | ||
1. Append the following lines to `android/settings.gradle`: | ||
```gradle | ||
include ':expo-constants-interface' | ||
project(':expo-constants-interface').projectDir = new File(rootProject.projectDir, '../node_modules/expo-constants-interface/android') | ||
``` | ||
2. Insert the following lines inside the dependencies block in `android/app/build.gradle`: | ||
```gradle | ||
api project(':expo-constants-interface') | ||
``` | ||
# Contributing | ||
Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4946
1
42
1