
Description
react-native-sqlite-storage is a SQLite3 native plugin for React Native, covering Android, iOS and Windows. The README says it is based on Chris Brody's Cordova SQLite plugin. It gives iOS and Android the same JavaScript API, supports SQL transactions, and offers both plain callbacks and Promises. On Android it has a pure Java mode and a native mode. You can import a pre-populated SQLite database that is bundled with the app or stored in the app sandbox. On Windows it supports the callback API, which the README says is identical to the iOS and Android one. The README covers installation, a Promises section, iOS and Android setup, and Windows steps that include updating the solution file. Sample apps are provided in the test directory of the repository. The project is public on GitHub.…
Highlights
- SQLite3 on Android, iOS and Windows
- Same JavaScript API on iOS and Android
- SQL transactions
- Callbacks or Promises
- Pre-populated database import
- Pure Java and native Android modes
Ratings & Reviews
No ratings yet
Be the first to rate react-native-sqlite-storage.
People also visit
react-native-sqlite-storage FAQ
What is react-native-sqlite-storage?
A SQLite3 native plugin for React Native that works on Android, iOS and Windows.
Does the API differ by platform?
The README says iOS and Android use an identical JavaScript API, and Windows supports the same callback API.
Can I use Promises?
Yes. The JavaScript interface can use plain callbacks or Promises.
Can I ship a database with my app?
Yes. The README says a pre-populated SQLite database can be imported from the app bundle or the sandbox.
Is there sample code?
Yes. Sample apps are in the test directory of the repository.
What are the best react-native-sqlite-storage alternatives?
Popular alternatives to react-native-sqlite-storage include asyncstorage-down, react-native-level-fs and react-native-prompt-android. See all react-native-sqlite-storage alternatives














