at runtime I am creating a folder in my package directory and in that want to copy my application asset files gets an error of type mismatch at filesource.copyAsync point.
localFolder.createFolderAsync(
"Cordova", Windows.Storage.CreationCollisionOption.replaceExisting)
.then(
function(foldername) {
Windows.Storage.StorageFile.getFileFromApplicationUriAsync(
newWindows.Foundation.Uri("ms-appx:///images/logo.png")).done(function(filesource)
{
filesource.copyAsync(foldername.path, filesource.displayName, Windows.Storage.CreationCollisionOption.replaceExisting).done();
})
},
function(error) {
},
function(onProgress) {
});
thank you if you able to see the issue
thanks & regards chandresh soni