This package provides the shared core functionality for React Native implementations of Jazz, supporting both framework-less React Native and Expo applications. It's designed to be a common foundation that the platform-specific packages (jazz-react-native
and jazz-expo
) build upon.
Jazz React Native Core contains platform-agnostic functionality for React Native, including:
- Common React Native context management
- Base SQLite adapter interfaces
- Shared crypto functionality
- Core hooks and utilities
The Jazz React Native ecosystem is now structured as follows:
-
jazz-react-native-core: Common foundation (this package)
- Shared interfaces and implementations
- Base SQLite adapter interface
-
jazz-react-native: For framework-less React Native applications
- Implements op-sqlite adapter
- Uses MMKV for key-value storage
- Directly imports jazz-react-native-core
-
jazz-expo: For Expo applications
- Implements expo-sqlite adapter
- Uses expo-secure-store for key-value storage
- Directly imports jazz-react-native-core
This package is typically not used directly by application developers. Instead, you should use either:
-
jazz-react-native
for framework-less React Native applications -
jazz-expo
for Expo applications
These packages will automatically include the appropriate functionality from jazz-react-native-core.
"react-native": "0.79.2",
"react": "18.3.1"
If you're extending the Jazz framework, this package allows you to implement shared React Native functionality that works across both Expo and framework-less React Native applications.
When adding new features, ensure they work in both environments:
- Framework-less React Native (using the jazz-react-native package)
- Expo applications (using the jazz-expo package)
MIT