1 | # unimodules-sensors-interface
|
2 |
|
3 | An interface for sensors modules.
|
4 |
|
5 | # Installation
|
6 |
|
7 | 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.
|
8 |
|
9 | For bare React Native projects, you must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/unimodules/react-native-unimodules) before continuing.
|
10 |
|
11 | ### Add the package to your npm dependencies
|
12 |
|
13 | ```
|
14 | npm install unimodules-sensors-interface
|
15 | ```
|
16 |
|
17 | ### Configure for iOS
|
18 |
|
19 | Run `pod install` in the ios directory after installing the npm package.
|
20 |
|
21 | ### Configure for Android
|
22 |
|
23 | No additional set up necessary.
|
24 |
|
25 | # Contributing
|
26 |
|
27 | Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).
|