File size: 399 Bytes
7e79d67 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | var cordova = require('cordova');
var PLUGIN_NAME = 'NativeViewAndroid';
function NativeViewAndroid() {
this.getBuildVariant = function (config, success, error) {
return new Promise(function (resolve, reject) {
cordova.exec(success || resolve, error || reject, PLUGIN_NAME, 'getBuildVariant', [config]);
});
};
}
module.exports = new NativeViewAndroid();
|