Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@awesome-cordova-library/appversion
Advanced tools
Reads the version of your app from the target build settings.
id: plugin-appversion title: App Version tags:
Reads the version of your app from the target build settings.
cordova plugin add cordova-plugin-app-version
npm install @awesome-cordova-library/appversion
npm install cordova-plugin-app-version
npm install @awesome-cordova-library/appversion
npx cap sync
export default class Appversion {
/**
* Return App Name
* @return Promise<string>
*/
static getAppName(): Promise<string> | Promise<null>;
/**
* Return Package Name
* @return Promise<string>
*/
static getPackageName(): Promise<string> | Promise<null>;
/**
* Return App Version Number
* @return Promise<string>
*/
static getVersionNumber(): Promise<string> | Promise<null>;
/**
* Return App Version Code
* @return Promise<string>
*/
static getVersionCode(): Promise<string> | Promise<null>;
static warnPluginIsUnInstallOrIncompatible(): void;
}
import Appversion from '@awesome-cordova-library/appversion';
Appversion.getAppName().then((value) => value && setAppName(value));
Appversion.getPackageName().then((value) => value && setPackageName(value));
Appversion.getVersionNumber().then((value) => value && setVersionNumber(value));
Appversion.getVersionCode().then((value) => value && setVersionCode(value));
FAQs
Reads the version of your app from the target build settings.
We found that @awesome-cordova-library/appversion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.