API reference › @evolu/react-native › createEvoluDeps

function createEvoluDeps(deps?: Partial<ConsoleDep>): EvoluDeps;

Defined in: react-native/src/createEvoluDeps.ts:25

Creates Evolu dependencies for React Native, in Expo apps and in React Native apps without Expo alike.

Evolu runs SQLite in its own native code, which encrypts every database, so the app needs a native build with @evolu/react-native: Expo Go can't load it, and an over-the-air update can't add it to a build made without it. The databases expo-sqlite's SQLCipher wrote for earlier releases open in place. Install the polyfills of @evolu/react-native/polyfills first, from a module the app's entry file imports first.