Compatibility
This page documents the compatibility between different versions of react-native-nitro-version-check and the Nitro ecosystem.
Version Matrix
react-native-nitro-version-check Version | react-native-nitro-modules | Status |
|---|---|---|
| v1.x | 0.32.0 - 0.34.x | Stable |
| v2.0.0+ | 0.35.0+ | Current |
Nitro 0.35.0 and Later
Version 2.x and newer is fully built around Nitro 0.35+ support. All v1.x versions work with Nitro 0.32.0 - 0.34.x.
Nitro 0.35.0 Improvements
Nitro 0.35.0 includes critical improvements and a memory leak fix in Kotlin HybridObjects. This required changes to:
- Kotlin: Regenerated specs with updated JNI initialization
- Swift & C++: Specs regenerated for compatibility
Version 2.x and newer leverage these improvements for better performance and stability.
Upgrading from v1.x to v2.0.0+
When you're ready to upgrade to v2.0.0, ensure you have react-native-nitro-modules 0.35.0+:
bun add react-native-nitro-modules@0.35.0
bun add react-native-nitro-version-check@2.0.0
Then rebuild your app:
# For Expo
bunx expo prebuild --clean
# For bare React Native
cd ios && pod install
Staying on v1.x
All v1.x versions work with Nitro 0.32.0 - 0.34.x. When you upgrade to Nitro 0.35.0+, you'll need to upgrade to v2.0.0+.