移动应用版本号识别 NativeScript AppVersion
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: Android
- 软件首页: https://github.com/eddyverbruggen/nativescript-appversion
软件介绍
NativeScript AppVersion 可以获取应用的版本号。
iOS 可以从 *.plist 的 CFBundleShortVersionString 获取
Android 可以从 AndroidManifest.xml 的 versionName 获取
使用:
var appversion = require("nativescript-appversion");getVersionName
appversion.getVersionName().then(function(v) {
console.log("Your app version is: " + v);
})
