
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-version-setter
Advanced tools

The simplest way to update your app version.
Will auto update the following files:
android/app/build.gradle versionName
android/app/build.gradle versionCode
ios/{projectName}.xcodeproj/project.pbxproj MARKETING_VERSION
package.json "version"
Simply call npx react-native-version-setter [version] in your project root.
$: npm run setVersion 1.2.0
[RNVS] MyApp: 1.0.0: ==> 1.2.0 ✅
$: npm run setVersion 1.2.0
[RNVS] Version is already 1.2.0 🛑
In most cases it makes sense to use conventional semantic versioning.
From version 2, RNVS has full support for extended semVer syntax, like 1.2.3-alpha. These symbols are not supported on iOS,
so they are stripped out automatically. They will be inserted as normal into android files and package.json.
-d: Runs with debug logging.
-r: Prepares version strings, but logs to console instead of writing to file.
-android: Set version for android only
-ios: Set version for iOS only
In most cases you won't need any config at all, but creating a .rnvs.json file in your project root will expose some extra options. Below are all accepted properties with example values.
{
// RNVS uses the project name
// in package.json by default,
// But your ios project name might differ.
"iosProjectName": "MyApp"
}
Ensure you have opened the generated .xcodeproj file at least once. On the first opening, Xcode will create the
MARKETING_VERSION field that holds your app version. Prioed to this, there is nowhere to store the iOS version.
If you're after a new feature that isn't listed on the roadmap, or you're having trouble with this package, please open an issue.
FAQs
Update your app version with a single command.
The npm package react-native-version-setter receives a total of 8 weekly downloads. As such, react-native-version-setter popularity was classified as not popular.
We found that react-native-version-setter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.