Name Date Size #Lines LOC

..26-Sep-2023-

android/H26-Sep-2023-657481

build/H26-Sep-2023-626441

ios/H26-Sep-2023-418335

scripts/H26-Sep-2023-167107

src/H26-Sep-2023-939677

.eslintrc.jsH A D26-Sep-2023103 31

.npmignoreH A D26-Sep-2023183 128

CHANGELOG.mdH A D26-Sep-202316.9 KiB380204

README.mdH A D26-Sep-20231.7 KiB4427

babel.config.jsH A D26-Sep-2023104 31

expo-module.config.jsonH A D26-Sep-2023202 1110

package.jsonH A D26-Sep-20231.1 KiB4746

tsconfig.jsonH A D26-Sep-2023217 109

README.md

1# expo-constants
2
3Provides system information that remains constant throughout the lifetime of your app.
4
5# API documentation
6
7- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/constants.mdx)
8- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/constants/)
9
10# Installation in managed Expo projects
11
12For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/constants/).
13
14# Installation in bare React Native projects
15
16For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.
17
18### Add the package to your npm dependencies
19
20```
21npx expo install expo-constants
22```
23
24#### Monorepo Support
25
26In 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:
27
28- Follow the setup instructions for [`expo-yarn-workspaces`](https://github.com/expo/expo/tree/main/packages/expo-yarn-workspaces).
29- Add the following configuration to your app's `package.json`:
30
31```json
32{
33  "expo-yarn-workspaces": {
34    "symlinks": ["expo-constants"]
35  }
36}
37```
38
39- Finally, run `yarn` in the app folder to create symlinks to `expo-constants` in your app's local `node_modules` folder.
40
41# Contributing
42
43Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing).
44