🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

expo-web-sqlite

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-web-sqlite

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

1.0.5
latest
Version published
Weekly downloads
445
436.14%
Maintainers
1
Weekly downloads
 
Created

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.

FAQs

Package last updated on 16 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts