Hi I'm working on Ionic framework for mobile app development in Visual studio 2013. In config.xml I could not able to add cordova file plugin, it shows couldn't able to download plugin., so I manually installed the Plugin from Git repository. The version of the plugin added is 4.2.0 and I added the following lines of code for file creation window.resolveLocalFileSystemURL(cordova.file.dataDirectory, function (dir) { console.log("got main dir", dir); dir.getFile("log.txt", { create: true }, function (file) { console.log("got the file", file); logOb = file; writeLog("App started"); }); }); But when I try to build the solution, it throws me "couldn't install cordova file plugin" and the build fails. So I downgraded the plugin version to 1.3.1, build succeeds, but it throws "cordova.file" as undefined.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)