Skip to content

Commit 1f21d99

Browse files
committed
removed unused plugin and console.logs
1 parent 9941179 commit 1f21d99

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/config.xml.mustache

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<plugin name="cordova-plugin-dialogs" source="npm" spec="2.0.1" />
3333
<plugin name="cordova-plugin-file" source="npm" spec="8.0.0" />
3434
<plugin name="cordova-plugin-save-dialog" source="npm" spec="2.0.0" />
35-
<plugin name="cordova-plugin-file-opener2" source="npm" spec="4.0.0" />
3635
<plugin name="cordova-plugin-ns0m-file-transfer" source="npm" spec="2.0.0-7" />
3736
<plugin name="cordova-plugin-globalization" source="npm" spec="1.11.0" />
3837
<plugin name="cordova-plugin-inappbrowser" spec="https://github.com/mendix/cordova-plugin-inappbrowser.git" />

src/www/scripts/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,8 @@ export default (function () {
297297
try {
298298
let response = await fetch(url);
299299
let blob = await response.blob();
300-
let uri = await cordova.plugins.saveDialog.saveFile(blob, fileName);
301-
console.info("The file has been successfully saved to", uri);
300+
await cordova.plugins.saveDialog.saveFile(blob, fileName);
302301
} catch (e) {
303-
console.error(e);
304302
window.mx.ui.exception(__("Could not download file"));
305303
}
306304
};

0 commit comments

Comments
 (0)