1 | # expo-sqlite
|
2 |
|
3 | Provides access to a database that can be queried through a WebSQL-like API (https://www.w3.org/TR/webdatabase/). The database is persisted across restarts of your app.
|
4 |
|
5 | # API documentation
|
6 |
|
7 | - [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/sqlite.md)
|
8 | - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/sqlite/)
|
9 |
|
10 | # Installation
|
11 |
|
12 | 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.
|
13 |
|
14 | 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.
|
15 |
|
16 | ### Add the package to your npm dependencies
|
17 |
|
18 | ```
|
19 | npm install expo-sqlite
|
20 | ```
|
21 |
|
22 | ### Configure for iOS
|
23 |
|
24 | Run `pod install` in the ios directory after installing the npm package.
|
25 |
|
26 | ### Configure for Android
|
27 |
|
28 | No additional set up necessary.
|
29 |
|
30 | # Contributing
|
31 |
|
32 | Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).
|