DATE:
AUTHOR:
PowerSync Product Team
React Native SDK JAVASCRIPT PACKAGES/LIBRARIES

Introducing our OP-SQLite integration for React Native (Alpha)

DATE:
AUTHOR: PowerSync Product Team

Overview

We are excited to introduce the @powersync/op-sqlite package, which allows the use of OP-SQLite with PowerSync in combination with the React Native SDK.

This package serves as an alternative to the existing @journeyapps/react-native-quick-sqlite package, providing the SQLite functionality that PowerSync relies on for local data storage in React Native applications.

Key benefits include:

  • We are building SQLCipher support on top of this package, which will be available in a (near) future release.

  • OP-SQLite offers out-of-the-box support for React Native's New Architecture, offering a smoother transition.

  • It also includes the powersync-sqlite-core extension, and therefore shares the same foundation as our other client SDKs.

  • It likely offers improved performance, though we are still working on benchmarks.

Usage

The @powersync/op-sqlite package is currently in an alpha release and you can opt-in to use it when configuring your PowerSyncDatabase. For setup instructions, see the package README:

We aim to make it the default in the beta or stable release after further testing.

Help and feedback

If you need any help getting started or have any questions, chat with us on Discord. We'd also love to hear your feedback.

Powered by LaunchNotes