TagSpaces is an offline, open source, document manager with tagging support
fix cordova android upload files (#1459)
Stanimircc8dfddaeea0
diff --git a/app/reducers/io-actions.ts b/app/reducers/io-actions.tsindex b5db5b0c6..98e821a00 100644--- a/app/reducers/io-actions.ts+++ b/app/reducers/io-actions.ts@@ -210,11 +210,10 @@ const actions = {reader.onload = async (event: any) => {await readerLoaded(event, inx, filePath);};- if (AppConfig.isCordova) {+ /* if (AppConfig.isCordova) {reader.readAsDataURL(file);- } else {- reader.readAsArrayBuffer(file);- }+ } else { */+ reader.readAsArrayBuffer(file);}async function readerLoaded(event, index, fileTargetPath) {