muratcorlu / nativescript-dev-version

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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!

About

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

License:Other


Languages

Language:JavaScript 100.0%