cordova-plugin-get-env

0.0.3 • Public • Published

cordova-plugin-get-env

npm npm

A simple Cordova plugin for reading Android environment variables.

Installation

To use this plugin in your Cordova project:

cordova plugin add cordova-plugin-get-env

Usage

To read the value of an Android environment variable:

// Get an environment variable
cordova.plugins.GetEnv.getEnv('ANDROID_HOME', result => {
    console.log(result);
});

Package Sidebar

Install

npm i cordova-plugin-get-env

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

2.83 kB

Total Files

5

Last publish

Collaborators

  • jacobjanak