Socket
Socket
Sign inDemoInstall

nativescript-dev-version-ssi

Package Overview
Dependencies
36
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nativescript-dev-version-ssi

Installs nativescript hooks to maintain native app version (AndroidManifest.xml and Info.plist)'


Version published
Maintainers
1
Created

Readme

Source

Nativescript hook plugin to maintain native app version

This plugin just takes the nativescript.version property from package.json and puts on the specific platform resources: AndroidManifest.xml file for the Android sources, and Info.plist for iOS sources.

How to use

$ tns plugin add nativescript-dev-version-ssi

This forked version of nativescript-dev-version will expand the version number into a version code that increments properly. XYYYZZZZ is generated as the version code from version X.Y.Z. For example, 1.2.3 becomes 10020003

The above command installs this module and installs the necessary NativeScript hooks.

Then, specify and maintain the desired release version on the package.json file under the nativescript.version property, for example:

{
  "nativescript": {
    "id": "org.nativescript.MySampleApp",
    "version": "1.2.3"
    ...
  },
  ...
}

When running tns prepare ... the hooks will take care of the native resources, and your app will get the 1.2.3 version number!

FAQs

Last updated on 28 Jun 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc