Hey everyone,
Since this library hasn't been updated in a while and many of us have been running into issues with newer React Native versions, I built a drop-in replacement: react-native-nitro-version-check.
It's built on Nitro Modules instead of the old bridge, so properties like version, buildNumber, and packageName are synchronous with no async overhead. It also adds a few things that were commonly requested here:
Granular update checks (major/minor/patch)
Install source detection (TestFlight, App Store, Play Store)
Pure Swift and Kotlin, no Objective-C or Java
Benchmarks on an iPhone 12 show ~1.6x to ~3.1x faster across the board compared to this library.
bun add react-native-nitro-version-check react-native-nitro-modules
Give it a try and let me know how it goes! Happy to hear any feedback or suggestions.
Thanks to @kimxogus for the original library that inspired this.
Hey everyone,
Since this library hasn't been updated in a while and many of us have been running into issues with newer React Native versions, I built a drop-in replacement: react-native-nitro-version-check.
It's built on Nitro Modules instead of the old bridge, so properties like version, buildNumber, and packageName are synchronous with no async overhead. It also adds a few things that were commonly requested here:
Granular update checks (major/minor/patch)
Install source detection (TestFlight, App Store, Play Store)
Pure Swift and Kotlin, no Objective-C or Java
Benchmarks on an iPhone 12 show ~1.6x to ~3.1x faster across the board compared to this library.
bun add react-native-nitro-version-check react-native-nitro-modules
Give it a try and let me know how it goes! Happy to hear any feedback or suggestions.
Thanks to @kimxogus for the original library that inspired this.