File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 32
32
<plugin name =" cordova-plugin-dialogs" source =" npm" spec =" 2.0.1" />
33
33
<plugin name =" cordova-plugin-file" source =" npm" spec =" 8.0.0" />
34
34
<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" />
36
35
<plugin name =" cordova-plugin-ns0m-file-transfer" source =" npm" spec =" 2.0.0-7" />
37
36
<plugin name =" cordova-plugin-globalization" source =" npm" spec =" 1.11.0" />
38
37
<plugin name =" cordova-plugin-inappbrowser" spec =" https://github.com/mendix/cordova-plugin-inappbrowser.git" />
Original file line number Diff line number Diff line change @@ -297,10 +297,8 @@ export default (function () {
297
297
try {
298
298
let response = await fetch ( url ) ;
299
299
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 ) ;
302
301
} catch ( e ) {
303
- console . error ( e ) ;
304
302
window . mx . ui . exception ( __ ( "Could not download file" ) ) ;
305
303
}
306
304
} ;
You can’t perform that action at this time.
0 commit comments