Good evening,
I'm having a problem retrieving the directory where the apk file was generated. I use the cordova-lib plugin in gulp to build an ionic application.
The "real" problem is that I can not recover the default location, or even tell a place to generate that apk. If the path were fixed, I would be able to move the file to a desired location, but I ran the test on multiple computers and the generation directory differs between them.
Here is an example of gulpfile:
var gulp = require("gulp"),
cordova = require("cordova-lib").cordova;
gulp.task("build", function (callback) {
cordova.build({
"platforms": ["android"],
"options": {
argv: []
}
}, callback);
});
Thank you in case anyone knows a way to recover / set this output directory or even know some other plugin to build an ionic application.