npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vuduc0801/react-native-version-check

v4.0.0

Published

App version checker for React Native. Fork of react-native-version-check with a built-in Expo entry point (@vuduc0801/react-native-version-check/expo) updated for Expo SDK 53+, and no lodash dependency.

Downloads

44

Readme

@vuduc0801/react-native-version-check

npm version

App version checker for React Native. Fork of react-native-version-check 3.5.0, with the Expo entry point built in and updated for Expo SDK 53+.

Why this fork exists

Upstream ships the Expo variant as a separate package, react-native-version-check-expo, which declares expo-constants@^14.0.2 and expo-localization@^14.0.0 as hard dependencies. On Expo SDK 53 that pulls [email protected] into the tree, whose LocalizationModule.swift is missing an @unknown default case and fails to compile against the Xcode 26 / iOS SDK 26.2 toolchain:

LocalizationModule.swift:94:5: error: switch must be exhaustive

A stale [email protected] gets installed as a nested duplicate at the same time.

This fork merges the two packages into one and makes the Expo modules optional peers, so the host app's own SDK-matched versions are always used.

Install

npm install @vuduc0801/react-native-version-check

For the Expo entry point, install the peers at the versions your Expo SDK pins:

npx expo install expo-constants expo-localization

Usage

Bare React Native — uses the bundled native module:

import VersionCheck from '@vuduc0801/react-native-version-check';

Expo — reads the manifest through expo-constants, no native module required:

import VersionCheck from '@vuduc0801/react-native-version-check/expo';

const update = await VersionCheck.needUpdate();
if (update.isNeeded) {
  Linking.openURL(update.storeUrl);
}

Both entries expose the same API: getCurrentVersion, getCurrentBuildNumber, getPackageName, getCountry, getStoreUrl, getAppStoreUrl, getPlayStoreUrl, getLatestVersion, needUpdate. Full option reference: kimxogus/react-native-version-check.

Skipping the native module on Expo

If you only use the /expo entry, opt out of native autolinking in your app's react-native.config.js so the Android and iOS sources are never built:

module.exports = {
  dependencies: {
    '@vuduc0801/react-native-version-check': {
      platforms: { android: null, ios: null },
    },
  },
};

Changes vs upstream 3.5.0

Expo

  • Expo support moved in-package as @vuduc0801/react-native-version-check/expo; the separate react-native-version-check-expo package is no longer needed.
  • expo-constants and expo-localization are optional peer dependencies, so no duplicate native module is ever installed.
  • Country detection uses Localization.getLocales()[0].regionCode. The legacy Localization.country / Localization.region constants it relied on were removed in expo-localization 16.
  • Reading the manifest no longer throws when both Constants.expoConfig and Constants.manifest2 are absent.
  • Dropped the dead Constants.expoVersion < 31 branch — expoVersion is undefined outside Expo Go.

JS

  • Dropped the lodash dependency; isNil and isFunction are two local one-liners.
  • semver bumped from ^6.1.1 to ^7.6.3.

Android

  • Added namespace to android/build.gradle and removed package from the manifest, which AGP 8 requires.
  • Removed the hardcoded abiFilters "armeabi-v7a", "x86" — it excluded arm64-v8a.
  • Defaults raised to compileSdk/targetSdk 35, minSdk 24; Java 17; dropped the pinned buildToolsVersion and the com.facebook.react:react-native:+ dynamic version.

iOS

  • Podspec deployment target raised from 7.0 to 15.1 and given a proper source tag.
  • Removed the unused legacy ios/RNVersionCheck.xcodeproj.

License

MIT. Original work by Taehyun Kim and contributors.