More Premium Hugo Themes Premium React Themes

React Native Sqlite 2

SQLite3 Native Plugin for React Native for iOS, Android, Windows and macOS.

React Native Sqlite 2

SQLite3 Native Plugin for React Native for iOS, Android, Windows and macOS.

Author Avatar Theme by craftzdog
Github Stars Github Stars: 382
Last Commit Last Commit: Dec 17, 2025 -
First Commit Created: Feb 24, 2024 -
React Native Sqlite 2 screenshot

Overview:

The SQLite3 Native Plugin for React Native is a versatile tool that offers a WebSQL-compatible API for data storage in React Native applications. By utilizing a SQLite database on the native side, this plugin serves as a seamless replacement for react-native-sqlite-storage, addressing various compatibility issues, particularly when used with PouchDB.

Features:

  • WebSQL-Compatible API: Provides a familiar interface for data storage in React Native apps.
  • Drop-in Replacement: Can seamlessly replace react-native-sqlite-storage.
  • Works Well with PouchDB: Compatible and stable for usage with PouchDB.
  • Native Support: Utilizes SQLite databases on Android, iOS, Windows, and macOS.
  • Latest SQLite Version: Ensures compatibility with the latest SQLite features.
  • Foreign Key Support: Automatically enables foreign key support for enhanced data integrity.
  • Easy Installation: Simple steps for integration into React Native projects.

Installation:

To add the SQLite3 Native Plugin for React Native to your project, follow these steps:

  1. Add react-native-sqlite-2 to your dependencies.
  2. For iOS/macOS: Link native dependencies (auto-linking from react-native 0.60 onwards).
  3. For Android: Ensure AndroidX is enabled in your project.
  4. See an example project for detailed usage instructions.
  5. Optionally, use with pouchdb-adapter-react-native-sqlite for PouchDB compatibility.

Summary:

The SQLite3 Native Plugin for React Native offers a robust solution for data storage in React Native applications, supporting various platforms and providing essential features like foreign key support and compatibility with PouchDB. Its ability to overcome limitations of previous SQLite plugins makes it a valuable tool for developers seeking reliable and efficient data storage options in their projects.