expo-constants
Provides system information that remains constant throughout the lifetime of your app.
Last updated a month ago by brentvatne .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install expo-constants 
SYNC missed versions from official npm registry.

expo-constants

Provides system information that remains constant throughout the lifetime of your app.

API documentation

Installation in managed Expo projects

For managed managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

expo install expo-constants

Monorepo Support

In a monorepo, the expo-constants package might be in a different folder than the native scripts are expecting. You can easily symlink the node module to your app's local node_modules folder by doing the following:

  • Follow the setup instructions for expo-yarn-workspaces.
  • Add the following configuration to your app's package.json:
{
  "expo-yarn-workspaces": {
    "symlinks": ["expo-constants"]
  }
}
  • Finally, run yarn in the app folder to create symlinks to expo-constants in your app's local node_modules folder.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Current Tags

  • 12.1.3                                ...           latest (a month ago)
  • 12.2.0                                ...           next (11 days ago)

56 Versions

  • 12.2.0                                ...           11 days ago
  • 12.1.3                                ...           a month ago
  • 12.1.2                                ...           a month ago
  • 12.1.1                                ...           a month ago
  • 12.1.0                                ...           2 months ago
  • 12.0.0                                ...           2 months ago
  • 11.1.0                                ...           3 months ago
  • 11.0.2                                ...           3 months ago
  • 11.0.1                                ...           5 months ago
  • 11.0.0                                ...           5 months ago
  • 10.1.3                                ...           7 months ago
  • 10.1.2                                ...           8 months ago
  • 10.1.1                                ...           8 months ago
  • 10.1.0                                ...           9 months ago
  • 10.0.1                                ...           10 months ago
  • 10.0.0                                ...           10 months ago
  • 9.3.5                                ...           a year ago
  • 9.3.4                                ...           a year ago
  • 9.3.3                                ...           a year ago
  • 9.3.2                                ...           a year ago
  • 9.3.1                                ...           a year ago
  • 9.3.0                                ...           a year ago
  • 9.2.0                                ...           a year ago
  • 9.1.1                                ...           2 years ago
  • 9.1.0                                ...           2 years ago
  • 9.0.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.0.1                                ...           2 years ago
  • 8.0.0-rc.1                                ...           2 years ago
  • 8.0.0-rc.0                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 7.0.0-rc.0                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 6.0.0-rc.0                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-rc.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 2.0.0-rc.3                                ...           3 years ago
  • 2.0.0-rc.2                                ...           3 years ago
  • 2.0.0-rc.1                                ...           3 years ago
  • 2.0.0-rc.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.1.0-rc.1                                ...           3 years ago
  • 1.1.0-rc.0                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.2-rc.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-rc.2                                ...           3 years ago
  • 1.0.0-rc.1                                ...           3 years ago
  • 1.0.0-rc.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Downloads
Total 189,580
Today 2
This Week 2
This Month 7,210
Last Day 62
Last Week 1,985
Last Month 6,456
Dependencies (3)
Dev Dependencies (1)
Dependents (204)

Copyright 2014 - 2021 © npmmirror.com |