Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-constants-interface

Package Overview
Dependencies
Maintainers
18
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-constants-interface - npm Package Compare versions

Comparing version 2.1.0-alpha.0 to 3.0.0

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc