expo-web-sqlite
v1.0.5
Published
Basically the same as `expo-sqlite` but `WebSQLDatabase` isn't deprecated in favor of the experimental, silent-erroring SQLiteDatabase. Provides access to a database that can be queried through a WebSQL-like API (https://www.w3.org/TR/webdatabase/). The d
Downloads
13
Maintainers
Readme
Info
This package is an effort to provide a truly stable version of expo-sqlite
for Expo SDK 49. This package does not sacrifice older stable features for new experimental ones. Note that the utility of this package depends on how the experimental Promise-based API fares in expo-sqlite
. The hope is that I can deprecate this package once said API becomes stable.
Everything below this point is documentation from expo-sqlite
(except for installation instructions)
Overview
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.
API documentation
Installation in managed Expo projects
For 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
npx expo install expo-web-sqlite
Configure for iOS
Run npx pod-install
after installing the npm package.
Configure for Android
No additional set up necessary.
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.