All Projects → EddyVerbruggen → nativescript-appversion

EddyVerbruggen / nativescript-appversion

Licence: MIT license
🔢 NativeScript plugin to retrieve your app's package ID and current version

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nativescript-appversion

Nativescript Vue
Native mobile applications using Vue and NativeScript.
Stars: ✭ 4,784 (+10078.72%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-star-printer
🌟 Print directly to Star Micronics printers from your NativeScript app! http://www.starmicronics.com/
Stars: ✭ 28 (-40.43%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-store-update
No description or website provided.
Stars: ✭ 18 (-61.7%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-vue-multi-drawer
A NativeScript-Vue component for creating multiple side drawers (4 sides supported)
Stars: ✭ 45 (-4.26%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-clipboard
📋 NativeScript plugin to copy stuff to the device clipboard, and read from it again
Stars: ✭ 40 (-14.89%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-homekit
🏡 HomeKit plugin for your fancy NativeScript app
Stars: ✭ 23 (-51.06%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-drawingpad
📝 NativeScript plugin to provide a way to capture any drawing (signatures are a common use case) from the device
Stars: ✭ 89 (+89.36%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-http
The best way to do HTTP requests in NativeScript, a drop-in replacement for the core HTTP with important improvements and additions like proper connection pooling, form data support and certificate pinning
Stars: ✭ 32 (-31.91%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-menu
A plugin that adds a pop-up menu to NativeScript
Stars: ✭ 17 (-63.83%)
Mutual labels:  nativescript, nativescript-plugin
texttospeech
Text to Speech NativeScript plugin for Android & iOS 📢
Stars: ✭ 44 (-6.38%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-vue-examples
🍈 NativeScript and Vue code samples.
Stars: ✭ 13 (-72.34%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-app-icon-changer
Change the homescreen icon of your NativeScript iOS app at runtime!
Stars: ✭ 16 (-65.96%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-printer
📠 Send an image or the screen contents to a physical printer
Stars: ✭ 33 (-29.79%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-taptic-engine
📳 Use Apple's Taptic Engine to vibrate your iPhone 6s (and up) in a variety of ways
Stars: ✭ 16 (-65.96%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-performance-monitor
⚡ Proof your app maintains 60-ish FPS by collecting data or showing it on screen with this NativeScript plugin!
Stars: ✭ 21 (-55.32%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-ng-shadow
Angular directive to apply shadows to native elements according to the elevation level guidelines of material design specification
Stars: ✭ 54 (+14.89%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-fabric
Handling App URLs in nativescript apps
Stars: ✭ 29 (-38.3%)
Mutual labels:  nativescript, nativescript-plugin
ui
Add right-to-left support to the NativeScript framework
Stars: ✭ 22 (-53.19%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-image-filters
NativeScript plugin to apply filters to images
Stars: ✭ 30 (-36.17%)
Mutual labels:  nativescript, nativescript-plugin
nativescript-apple-sign-in
Sign In With Apple, as seen on WWDC 2019, available with iOS 13
Stars: ✭ 37 (-21.28%)
Mutual labels:  nativescript, nativescript-plugin

NativeScript AppVersion

NPM version Downloads Twitter Follow

Read the current Package ID and Version (name and code) of your NativeScript app.

Installation

Run the following command from the root of your project:

tns plugin add nativescript-appversion

Usage

To use this plugin you must first require / import it:

JavaScript

var appversion = require("nativescript-appversion");

TypeScript

import * as appversion from "nativescript-appversion";

getVersionName(Sync)

getVersionNameSync is the same as getVersionName, except it doesn't return a Promise.

JavaScript

  appversion.getVersionName().then(function(v) {
      console.log("Your app's version is: " + v);
  });

TypeScript

  appversion.getVersionName().then((v: string) => {
      console.log("Your app's version is: " + v);
  });

getVersionCode(Sync)

JavaScript

  appversion.getVersionCode().then(function(v) {
      console.log("Your app's version code is: " + v);
  });

TypeScript

  appversion.getVersionCode().then((v: string) => {
      console.log("Your app's version code is: " + v);
  });

getAppId(Sync)

JavaScript

  appversion.getAppId().then(function(id) {
      console.log("Your app's id is: " + id);
  });

TypeScript

  appversion.getAppId().then((id: string) => {
      console.log("Your app's id is: " + id);
  });
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].