Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@qeepsake/react-native-marketing-version

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qeepsake/react-native-marketing-version

Set the version in package.json, android/app/build.gradle and info.plist

  • 1.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-25%
Maintainers
2
Weekly downloads
 
Created
Source

React Native Marketing Version

License: MIT

This tool allows you to easily update the marketing version of a React Native application. Following files will be updated:

  • ./package.json
  • ./android/app/src/main/AndroidManifest.xml
  • ./android/app/build.gradle
  • ./ios/<app_name>/Info.plist

Setup and Usage

There are two ways to install react-native-marketing-version: globally and locally.

Local Installation

This is the recommended way to install react-native-marketing-version.

npm install @qeepsake/react-native-marketing-version --save-dev
-- or --
yarn add @qeepsake/react-native-marketing-version --dev

You can then use this command in your project directory to run react-native-marketing-version:

npm:

$ npm run set-version <version>
-- or --
$ yarn set-version <version>

Global Installation

This installation method allows you to use react-native-marketing-version in any project.

npm install -g react-native-marketing-version
-- or --
yarn global add react-native-marketing-version

You can then use this command in your project directory to run react-native-marketing-version:

set-version <version>

Behaviour

When invoked, react-native-marketing-version will make the following changes to your project files:

  • The version attribute in package.json will be updated with the specified version.
  • It will update the version name in both build.gradle and AndroidManifest.xml. react-native-marketing-version will only write in the AndroidManifest.xml if android:versionName is already in the file.
  • It will update the CFBundleShortVersionString ("Version") in Info.plist.

License

This software uses the MIT license.

Keywords

FAQs

Package last updated on 11 Feb 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc