TagSpaces is an offline, open source, document manager with tagging support
TSN615 - Rename the android package to org.tagspaces.mobileapp (#1377)
Stanimir7e3af4cbf847
diff --git a/app/services/cordova-io.ts b/app/services/cordova-io.tsindex 251fc08e3..0bfbd1c86 100644--- a/app/services/cordova-io.ts+++ b/app/services/cordova-io.ts@@ -89,7 +89,7 @@ export default class CordovaIO {/*** intent:action: "android.intent.action.VIEW"- component: "ComponentInfo{org.tagspaces.mobile/org.tagspaces.mobile.MainActivity}"+ component: "ComponentInfo{org.tagspaces.mobile/org.tagspaces.mobileapp.MainActivity}"data: "file:///storage/emulated/0/Download/%D0%B4%D0%B5%D0%BA%D0%BB%D0%B0%D1%80%D0%B0%D1%86%D0%B8%D1%8F%20%D0%B7%D0%B0%20%D1%86%D0%BB%D1%80.pdf"flags: 306184195type: "application/pdf"@@ -1263,7 +1263,7 @@ export default class CordovaIO {// ["file:///storage/emulated/0/360/security", "file:///storage/emulated/0/360/security"]// fix https://trello.com/c/vV7D0kGf/500-tsn500-fix-folder-selector-in-create-edit-location-on-android-or-use-native-dialogdata[0] = data[0].replace(- 'content://org.tagspaces.mobile.provider/root/storage/emulated/0', //'file:///storage/emulated/0',+ 'content://org.tagspaces.mobileapp.provider/root/storage/emulated/0', //'file:///storage/emulated/0','file:///sdcard');resolve(data);diff --git a/cordova/config.xml b/cordova/config.xmlindex 8ce2978b5..7cb82a136 100644--- a/cordova/config.xml+++ b/cordova/config.xml@@ -1,5 +1,5 @@<?xml version='1.0' encoding='utf-8'?>-<widget id="org.tagspaces.mobile" version="1.0.0" xmlns="http://www.w3.org/ns/widgets"+<widget id="org.tagspaces.mobileapp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets"xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android"><name>TagSpaces</name><description>diff --git a/cordova/package-lock.json b/cordova/package-lock.jsonindex 84e627064..75d379a80 100644--- a/cordova/package-lock.json+++ b/cordova/package-lock.json@@ -16,9 +16,9 @@"integrity": "sha512-b+MGNyP9/LXkapreJzNUzcvuzZslj/RGgdVVJ16P2wSlYatfLycPObImqVJSmNAdyeShvNeM/pl3sVZsObFueg==","dev": true,"requires": {- "assert-plus": "^1.0.0",- "extsprintf": "^1.4.0",- "lodash": "^4.17.15"+ "assert-plus": "1.0.0",+ "extsprintf": "1.4.0",+ "lodash": "4.17.21"}},"@nodelib/fs.scandir": {@@ -28,7 +28,7 @@"dev": true,"requires": {"@nodelib/fs.stat": "2.0.4",- "run-parallel": "^1.1.9"+ "run-parallel": "1.2.0"}},"@nodelib/fs.stat": {@@ -44,7 +44,7 @@"dev": true,"requires": {"@nodelib/fs.scandir": "2.1.4",- "fastq": "^1.6.0"+ "fastq": "1.11.0"}},"abbrev": {@@ -59,7 +59,7 @@"integrity": "sha512-ojC2Ig7b/KJ6iNtR8e4bacmOsJyEkoERk3CKMIsnH7kJz5z6551NMbrVaRb7KXYavu1d74Uhml/bfcmqT3nAcg==","dev": true,"requires": {- "semver": "^5.7.1"+ "semver": "5.7.1"}},"ansi": {@@ -87,7 +87,6 @@},"bamboo.cordova.plugin.downloader": {"version": "git+https://github.com/sytolk/cordova-plugin-downloader.git#9ab2c3ad6c0faf9aefcc32a7870593daab5c69db",- "from": "git+https://github.com/sytolk/cordova-plugin-downloader.git","dev": true},"base64-js": {@@ -105,7 +104,7 @@"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz","integrity": "sha512-Za9JKzD6fjLC16oX2wsXfc+qBEhJBJB1YPInoAQpMLhDuj5aVOv1baGeIQSq1Fr3OCqzvsoQcSBSwGId/Ja2PA==","requires": {- "stream-buffers": "~2.2.0"+ "stream-buffers": "2.2.0"}},"bplist-parser": {@@ -113,7 +112,7 @@"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz","integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==","requires": {- "big-integer": "^1.6.44"+ "big-integer": "1.6.48"}},"brace-expansion": {@@ -121,7 +120,7 @@"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz","integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==","requires": {- "balanced-match": "^1.0.0",+ "balanced-match": "1.0.0","concat-map": "0.0.1"}},@@ -131,7 +130,7 @@"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==","dev": true,"requires": {- "fill-range": "^7.0.1"+ "fill-range": "7.0.1"}},"com-darryncampbell-cordova-plugin-intent": {@@ -151,13 +150,13 @@"integrity": "sha512-2ZEgApK4LPMYW0zh/mLAH3CabzCaKE0yxQTzA2wTf0Eo2HHTJnRtDCf9spGf3nPOkubyXS6+pvzz5QzNHpVTqQ==","dev": true,"requires": {- "android-versions": "^1.5.0",- "cordova-common": "^4.0.1",- "execa": "^4.0.2",- "fs-extra": "^9.0.1",- "nopt": "^4.0.3",- "properties-parser": "^0.3.1",- "which": "^2.0.2"+ "android-versions": "1.6.0",+ "cordova-common": "4.0.2",+ "execa": "4.1.0",+ "fs-extra": "9.1.0",+ "nopt": "4.0.3",+ "properties-parser": "0.3.1",+ "which": "2.0.2"}},"cordova-common": {@@ -166,63 +165,24 @@"integrity": "sha512-od7aNShyuBajzPY83mUEO8tERwwWdFklXETHiXP5Ft87CWeo/tSuwNPFztyTy8XYc74yXdogXKPTJeUHuVzB8Q==","dev": true,"requires": {- "@netflix/nerror": "^1.1.3",- "ansi": "^0.3.1",- "bplist-parser": "^0.2.0",- "cross-spawn": "^7.0.1",- "elementtree": "^0.1.7",- "endent": "^1.4.1",- "fast-glob": "^3.2.2",- "fs-extra": "^9.0.0",- "glob": "^7.1.6",- "plist": "^3.0.1",- "q": "^1.5.1",- "read-chunk": "^3.2.0",- "strip-bom": "^4.0.0",- "underscore": "^1.9.2"- }- },- "cordova-ios": {- "version": "6.2.0",- "resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-6.2.0.tgz",- "integrity": "sha512-sLjZg2QBI1SpQVwfe0MSn89YNVkBGLW9Q1vcFJBsqKBrhvoEOJ5Ytq0gwqdhgTOGzlwJUfxC6OHM3jcsRjtYrw==",- "dev": true,- "requires": {- "cordova-common": "^4.0.2",- "fs-extra": "^9.1.0",- "ios-sim": "^8.0.2",- "nopt": "^5.0.0",- "plist": "^3.0.1",- "semver": "^7.3.4",- "unorm": "^1.6.0",- "which": "^2.0.2",- "xcode": "^3.0.1",- "xml-escape": "^1.1.0"- },- "dependencies": {- "nopt": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",- "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",- "dev": true,- "requires": {- "abbrev": "1"- }- },- "semver": {- "version": "7.3.4",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",- "dev": true,- "requires": {- "lru-cache": "^6.0.0"- }- }+ "@netflix/nerror": "1.1.3",+ "ansi": "0.3.1",+ "bplist-parser": "0.2.0",+ "cross-spawn": "7.0.3",+ "elementtree": "0.1.7",+ "endent": "1.4.1",+ "fast-glob": "3.2.5",+ "fs-extra": "9.1.0",+ "glob": "7.1.6",+ "plist": "3.0.1",+ "q": "1.5.1",+ "read-chunk": "3.2.0",+ "strip-bom": "4.0.0",+ "underscore": "1.12.1"}},"cordova-ourcodeworld-filebrowser": {"version": "git+https://github.com/muhammed-noufal/cordova-ourcodeworld-filebrowser.git#07b8d2298a53691913101da5f704cb11159aed70",- "from": "git+https://github.com/muhammed-noufal/cordova-ourcodeworld-filebrowser.git","dev": true},"cordova-plugin-add-swift-support": {@@ -230,9 +190,9 @@"resolved": "https://registry.npmjs.org/cordova-plugin-add-swift-support/-/cordova-plugin-add-swift-support-2.0.2.tgz","integrity": "sha512-K03WDnsD3GT+n7Od3BnS17D8rYnAFZbZjjQJa2r7qW8QLq8+h7hGbFaiF+w5+nUtyAqUNq+HT/d/MdqBGLNzxA==","requires": {- "glob": "^7.1.3",- "semver": "^6.0.0",- "xcode": "^2.0.0"+ "glob": "7.1.6",+ "semver": "6.3.0",+ "xcode": "2.1.0"},"dependencies": {"semver": {@@ -250,8 +210,8 @@"resolved": "https://registry.npmjs.org/xcode/-/xcode-2.1.0.tgz","integrity": "sha512-uCrmPITrqTEzhn0TtT57fJaNaw8YJs1aCzs+P/QqxsDbvPZSv7XMPPwXrKvHtD6pLjBM/NaVwraWJm8q83Y4iQ==","requires": {- "simple-plist": "^1.0.0",- "uuid": "^3.3.2"+ "simple-plist": "1.1.1",+ "uuid": "3.4.0"}}}@@ -268,8 +228,8 @@"integrity": "sha512-W1SImn0cCCvOSTSfWWp5TnanIQrSuh2Bch+dcZXIzEn0km3Qb7VryeAqHhgBQYwwzC5Ollk1DtUAk/AJSojuZA==","dev": true,"requires": {- "q": "^1.5.1",- "recursive-readdir": "^2.2.2"+ "q": "1.5.1",+ "recursive-readdir": "2.2.2"}},"cordova-plugin-background-mode": {@@ -290,7 +250,6 @@},"cordova-plugin-file": {"version": "git+https://github.com/apache/cordova-plugin-file.git#5274cab39e3f96a8682a74ba28663f32611501c8",- "from": "git+https://github.com/apache/cordova-plugin-file.git","dev": true},"cordova-plugin-file-opener2": {@@ -315,9 +274,9 @@"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==","dev": true,"requires": {- "path-key": "^3.1.0",- "shebang-command": "^2.0.0",- "which": "^2.0.1"+ "path-key": "3.1.1",+ "shebang-command": "2.0.0",+ "which": "2.0.2"}},"dedent": {@@ -341,7 +300,7 @@"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==","dev": true,"requires": {- "once": "^1.4.0"+ "once": "1.4.0"}},"endent": {@@ -350,9 +309,9 @@"integrity": "sha512-buHTb5c8AC9NshtP6dgmNLYkiT+olskbq1z6cEGvfGCF3Qphbu/1zz5Xu+yjTDln8RbxNhPoUyJ5H8MSrp1olQ==","dev": true,"requires": {- "dedent": "^0.7.0",- "fast-json-parse": "^1.0.3",- "objectorarray": "^1.0.4"+ "dedent": "0.7.0",+ "fast-json-parse": "1.0.3",+ "objectorarray": "1.0.4"}},"es6-promise-plugin": {@@ -366,15 +325,15 @@"integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==","dev": true,"requires": {- "cross-spawn": "^7.0.0",- "get-stream": "^5.0.0",- "human-signals": "^1.1.1",- "is-stream": "^2.0.0",- "merge-stream": "^2.0.0",- "npm-run-path": "^4.0.0",- "onetime": "^5.1.0",- "signal-exit": "^3.0.2",- "strip-final-newline": "^2.0.0"+ "cross-spawn": "7.0.3",+ "get-stream": "5.2.0",+ "human-signals": "1.1.1",+ "is-stream": "2.0.0",+ "merge-stream": "2.0.0",+ "npm-run-path": "4.0.1",+ "onetime": "5.1.2",+ "signal-exit": "3.0.3",+ "strip-final-newline": "2.0.0"}},"extsprintf": {@@ -389,12 +348,12 @@"integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==","dev": true,"requires": {- "@nodelib/fs.stat": "^2.0.2",- "@nodelib/fs.walk": "^1.2.3",- "glob-parent": "^5.1.0",- "merge2": "^1.3.0",- "micromatch": "^4.0.2",- "picomatch": "^2.2.1"+ "@nodelib/fs.stat": "2.0.4",+ "@nodelib/fs.walk": "1.2.6",+ "glob-parent": "5.1.2",+ "merge2": "1.4.1",+ "micromatch": "4.0.2",+ "picomatch": "2.2.2"}},"fast-json-parse": {@@ -409,7 +368,7 @@"integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==","dev": true,"requires": {- "reusify": "^1.0.4"+ "reusify": "1.0.4"}},"fill-range": {@@ -418,7 +377,7 @@"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==","dev": true,"requires": {- "to-regex-range": "^5.0.1"+ "to-regex-range": "5.0.1"}},"fs-extra": {@@ -427,10 +386,10 @@"integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==","dev": true,"requires": {- "at-least-node": "^1.0.0",- "graceful-fs": "^4.2.0",- "jsonfile": "^6.0.1",- "universalify": "^2.0.0"+ "at-least-node": "1.0.0",+ "graceful-fs": "4.2.6",+ "jsonfile": "6.1.0",+ "universalify": "2.0.0"}},"fs.realpath": {@@ -444,7 +403,7 @@"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==","dev": true,"requires": {- "pump": "^3.0.0"+ "pump": "3.0.0"}},"glob": {@@ -452,12 +411,12 @@"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz","integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==","requires": {- "fs.realpath": "^1.0.0",- "inflight": "^1.0.4",- "inherits": "2",- "minimatch": "^3.0.4",- "once": "^1.3.0",- "path-is-absolute": "^1.0.0"+ "fs.realpath": "1.0.0",+ "inflight": "1.0.6",+ "inherits": "2.0.4",+ "minimatch": "3.0.4",+ "once": "1.4.0",+ "path-is-absolute": "1.0.1"}},"glob-parent": {@@ -466,7 +425,7 @@"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==","dev": true,"requires": {- "is-glob": "^4.0.1"+ "is-glob": "4.0.1"}},"graceful-fs": {@@ -486,8 +445,8 @@"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz","integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=","requires": {- "once": "^1.3.0",- "wrappy": "1"+ "once": "1.4.0",+ "wrappy": "1.0.2"}},"inherits": {@@ -495,35 +454,6 @@"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},- "ios-sim": {- "version": "8.0.2",- "resolved": "https://registry.npmjs.org/ios-sim/-/ios-sim-8.0.2.tgz",- "integrity": "sha512-P7nEG771bfd+JoMRjnis1gpZOkjTUUxu+4Ek1Z+eoaEEoT9byllU9pxfQ8Df7hL3gSkIQxNwTSLhos2I8tWUQA==",- "dev": true,- "requires": {- "bplist-parser": "^0.0.6",- "nopt": "1.0.9",- "plist": "^3.0.1",- "simctl": "^2"- },- "dependencies": {- "bplist-parser": {- "version": "0.0.6",- "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz",- "integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk=",- "dev": true- },- "nopt": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.9.tgz",- "integrity": "sha1-O8DXy6e/sNWmdtvtfA6+SKT9RU4=",- "dev": true,- "requires": {- "abbrev": "1"- }- }- }- },"is-extglob": {"version": "2.1.1","resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",@@ -536,7 +466,7 @@"integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==","dev": true,"requires": {- "is-extglob": "^2.1.1"+ "is-extglob": "2.1.1"}},"is-number": {@@ -563,8 +493,8 @@"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==","dev": true,"requires": {- "graceful-fs": "^4.1.6",- "universalify": "^2.0.0"+ "graceful-fs": "4.2.6",+ "universalify": "2.0.0"}},"lodash": {@@ -573,15 +503,6 @@"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==","dev": true},- "lru-cache": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",- "dev": true,- "requires": {- "yallist": "^4.0.0"- }- },"merge-stream": {"version": "2.0.0","resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",@@ -600,8 +521,8 @@"integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==","dev": true,"requires": {- "braces": "^3.0.1",- "picomatch": "^2.0.5"+ "braces": "3.0.2",+ "picomatch": "2.2.2"}},"mimic-fn": {@@ -615,7 +536,7 @@"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz","integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==","requires": {- "brace-expansion": "^1.1.7"+ "brace-expansion": "1.1.11"}},"nopt": {@@ -624,8 +545,8 @@"integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==","dev": true,"requires": {- "abbrev": "1",- "osenv": "^0.1.4"+ "abbrev": "1.1.1",+ "osenv": "0.1.5"}},"npm-run-path": {@@ -634,7 +555,7 @@"integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==","dev": true,"requires": {- "path-key": "^3.0.0"+ "path-key": "3.1.1"}},"objectorarray": {@@ -648,7 +569,7 @@"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz","integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=","requires": {- "wrappy": "1"+ "wrappy": "1.0.2"}},"onetime": {@@ -657,7 +578,7 @@"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==","dev": true,"requires": {- "mimic-fn": "^2.1.0"+ "mimic-fn": "2.1.0"}},"os-homedir": {@@ -678,8 +599,8 @@"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==","dev": true,"requires": {- "os-homedir": "^1.0.0",- "os-tmpdir": "^1.0.0"+ "os-homedir": "1.0.2",+ "os-tmpdir": "1.0.2"}},"p-finally": {@@ -722,9 +643,9 @@"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz","integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==","requires": {- "base64-js": "^1.2.3",- "xmlbuilder": "^9.0.7",- "xmldom": "0.1.x"+ "base64-js": "1.5.1",+ "xmlbuilder": "9.0.7",+ "xmldom": "0.1.31"}},"properties-parser": {@@ -733,7 +654,7 @@"integrity": "sha1-ExbpU5/7/ZOEXjabIRAiq9R4dxo=","dev": true,"requires": {- "string.prototype.codepointat": "^0.2.0"+ "string.prototype.codepointat": "0.2.1"}},"pump": {@@ -742,8 +663,8 @@"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==","dev": true,"requires": {- "end-of-stream": "^1.1.0",- "once": "^1.3.1"+ "end-of-stream": "1.4.4",+ "once": "1.4.0"}},"q": {@@ -753,9 +674,9 @@"dev": true},"queue-microtask": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz",- "integrity": "sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg==",+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==","dev": true},"read-chunk": {@@ -764,8 +685,8 @@"integrity": "sha512-CEjy9LCzhmD7nUpJ1oVOE6s/hBkejlcJEgLQHVnQznOSilOPb+kpKktlLfFDK3/WP43+F80xkUTM2VOkYoSYvQ==","dev": true,"requires": {- "pify": "^4.0.1",- "with-open-file": "^0.1.6"+ "pify": "4.0.1",+ "with-open-file": "0.1.7"}},"recursive-readdir": {@@ -789,7 +710,7 @@"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==","dev": true,"requires": {- "queue-microtask": "^1.2.2"+ "queue-microtask": "1.2.3"}},"sax": {@@ -810,7 +731,7 @@"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==","dev": true,"requires": {- "shebang-regex": "^3.0.0"+ "shebang-regex": "3.0.0"}},"shebang-regex": {@@ -819,28 +740,12 @@"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==","dev": true},- "shelljs": {- "version": "0.2.6",- "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz",- "integrity": "sha1-kEktcv/MgVmXa6umL7D2iE8MM3g=",- "dev": true- },"signal-exit": {"version": "3.0.3","resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz","integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==","dev": true},- "simctl": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/simctl/-/simctl-2.0.0.tgz",- "integrity": "sha512-5rB7rN4N3b0z0nFdy9eczVssXqrv2aAgdVRksPVqVoiDtvXmfzNvebp3EMdId2sAUzXIflarQlx4P0hjVQEzKQ==",- "dev": true,- "requires": {- "shelljs": "^0.2.6",- "tail": "^0.4.0"- }- },"simple-plist": {"version": "1.1.1","resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.1.1.tgz",@@ -848,7 +753,7 @@"requires": {"bplist-creator": "0.0.8","bplist-parser": "0.2.0",- "plist": "^3.0.1"+ "plist": "3.0.1"}},"stream-buffers": {@@ -874,25 +779,19 @@"integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==","dev": true},- "tail": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/tail/-/tail-0.4.0.tgz",- "integrity": "sha1-0p3nJ1DMmdseBTr/E8NZ7PtxMAI=",- "dev": true- },"to-regex-range": {"version": "5.0.1","resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz","integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==","dev": true,"requires": {- "is-number": "^7.0.0"+ "is-number": "7.0.0"}},"underscore": {- "version": "1.12.0",- "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.0.tgz",- "integrity": "sha512-21rQzss/XPMjolTiIezSu3JAjgagXKROtNrYFEOWK109qY1Uv2tVjPTZ1ci2HgvQDA16gHYSthQIJfB+XId/rQ==",+ "version": "1.12.1",+ "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz",+ "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==","dev": true},"universalify": {@@ -901,25 +800,13 @@"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==","dev": true},- "unorm": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",- "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",- "dev": true- },- "uuid": {- "version": "7.0.3",- "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",- "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",- "dev": true- },"which": {"version": "2.0.2","resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz","integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==","dev": true,"requires": {- "isexe": "^2.0.0"+ "isexe": "2.0.0"}},"with-open-file": {@@ -928,9 +815,9 @@"integrity": "sha512-ecJS2/oHtESJ1t3ZfMI3B7KIDKyfN0O16miWxdn30zdh66Yd3LsRFebXZXq6GU4xfxLf6nVxp9kIqElb5fqczA==","dev": true,"requires": {- "p-finally": "^1.0.0",- "p-try": "^2.1.0",- "pify": "^4.0.1"+ "p-finally": "1.0.0",+ "p-try": "2.2.0",+ "pify": "4.0.1"}},"wrappy": {@@ -938,22 +825,6 @@"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz","integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="},- "xcode": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz",- "integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==",- "dev": true,- "requires": {- "simple-plist": "^1.1.0",- "uuid": "^7.0.3"- }- },- "xml-escape": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/xml-escape/-/xml-escape-1.1.0.tgz",- "integrity": "sha1-OQTBQ/qOs6ADDsZG0pAqLxtwbEQ=",- "dev": true- },"xmlbuilder": {"version": "9.0.7","resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",@@ -963,12 +834,6 @@"version": "0.1.31","resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz","integrity": "sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ=="- },- "yallist": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",- "dev": true}}}diff --git a/cordova/platforms/android/android.json b/cordova/platforms/android/android.jsonindex 46605d8f9..30594bdd3 100644--- a/cordova/platforms/android/android.json+++ b/cordova/platforms/android/android.json@@ -10,11 +10,11 @@"/manifest/application/activity": [{"xml": "<intent-filter><action android:name=\"android.intent.action.VIEW\" /><category android:name=\"android.intent.category.DEFAULT\" /><category android:name=\"android.intent.category.BROWSABLE\" /><data android:mimeType=\"application/pdf\" android:scheme=\"file\" /><data android:mimeType=\"text/plain\" android:scheme=\"file\" /><data android:mimeType=\"image/x-windows-bmp\" android:scheme=\"file\" /><data android:mimeType=\"image/gif\" android:scheme=\"file\" /><data android:mimeType=\"image/png\" android:scheme=\"file\" /><data android:mimeType=\"image/jpeg\" android:scheme=\"file\" /><data android:mimeType=\"image/webp\" android:scheme=\"file\" /><data android:mimeType=\"video/webm\" android:scheme=\"file\" /><data android:mimeType=\"video/ogg\" android:scheme=\"file\" /><data android:mimeType=\"text/html\" android:scheme=\"file\" /><data android:mimeType=\"application/json\" android:scheme=\"file\" /></intent-filter>",- "count": 4+ "count": 3},{"xml": "<intent-filter><action android:name=\"android.intent.action.VIEW\" /><category android:name=\"android.intent.category.DEFAULT\" /><category android:name=\"android.intent.category.BROWSABLE\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..json\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..mht\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..mhtml\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..md\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..md.txt\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..markdown\" android:scheme=\"file\" /><data android:host=\"*\" android:mimeType=\"*/*\" android:pathPattern=\"..ogv\" android:scheme=\"file\" /></intent-filter>",- "count": 4+ "count": 3},{"xml": "<intent-filter><action android:name=\"com.darryncampbell.cordova.plugin.intent.ACTION\" /><category android:name=\"android.intent.category.DEFAULT\" /></intent-filter>",@@ -24,7 +24,7 @@"/manifest/application": [{"xml": "<provider android:authorities=\"${applicationId}.provider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"android.support.v4.content.FileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/mnk_file_path\" /></provider>",- "count": 4+ "count": 3},{"xml": "<provider android:authorities=\"${applicationId}.darryncampbell.cordova.plugin.intent.fileprovider\" android:exported=\"false\" android:grantUriPermissions=\"true\" android:name=\"com.darryncampbell.cordova.plugin.intent.CordovaPluginIntentFileProvider\"><meta-data android:name=\"android.support.FILE_PROVIDER_PATHS\" android:resource=\"@xml/provider_paths\" /></provider>",@@ -164,54 +164,73 @@}]}+ },+ "app/src/main/AndroidManifest.xml": {+ "parents": {+ "/manifest/application": [+ {+ "xml": "<application android:requestLegacyExternalStorage=\"true\" />",+ "count": 1,+ "mode": "merge",+ "plugin": "cordova-plugin-file",+ "oldAttrib": {+ "android:hardwareAccelerated": "true",+ "android:icon": "@mipmap/ic_launcher",+ "android:label": "@string/app_name",+ "android:requestLegacyExternalStorage": "true",+ "android:supportsRtl": "true"+ }+ }+ ]+ }}}},"installed_plugins": {"com-darryncampbell-cordova-plugin-intent": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"com.ourcodeworld.plugins.Filebrowser": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"com.whebcraft.cordova.plugin.downloader": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-add-swift-support": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-androidx-adapter": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-device": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-background-mode": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-camera": {"ANDROID_SUPPORT_V4_VERSION": "27.+",- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-chooser": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-file": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-file-opener2": {"ANDROID_SUPPORT_V4_VERSION": "27.+",- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-whitelist": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"es6-promise-plugin": {- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"},"cordova-plugin-x-socialsharing": {"ANDROID_SUPPORT_V4_VERSION": "24.1.1+",- "PACKAGE_NAME": "org.tagspaces.mobile"+ "PACKAGE_NAME": "org.tagspaces.mobileapp"}},"dependent_plugins": {},@@ -503,7 +522,7 @@"cordova-plugin-background-mode": "0.7.3","cordova-plugin-camera": "4.1.0","cordova-plugin-chooser": "1.3.1",- "cordova-plugin-file": "6.0.2",+ "cordova-plugin-file": "7.0.0-dev","cordova-plugin-file-opener2": "3.0.4","cordova-plugin-whitelist": "1.3.4","es6-promise-plugin": "4.2.2",diff --git a/cordova/platforms/android/app/build.gradle b/cordova/platforms/android/app/build.gradleindex d73a40417..31da2c02c 100644--- a/cordova/platforms/android/app/build.gradle+++ b/cordova/platforms/android/app/build.gradle@@ -147,7 +147,7 @@ ext {}// PLUGIN GRADLE EXTENSIONS START-apply from: "../com.ourcodeworld.plugins.Filebrowser/mobile-plugin.gradle"+apply from: "../com.ourcodeworld.plugins.Filebrowser/mobileapp-plugin.gradle"// PLUGIN GRADLE EXTENSIONS ENDdef hasBuildExtras1 = file('build-extras.gradle').exists()diff --git a/cordova/platforms/android/app/src/main/AndroidManifest.xml b/cordova/platforms/android/app/src/main/AndroidManifest.xmlindex be3097f08..b7eec29fd 100644--- a/cordova/platforms/android/app/src/main/AndroidManifest.xml+++ b/cordova/platforms/android/app/src/main/AndroidManifest.xml@@ -1,5 +1,5 @@<?xml version='1.0' encoding='utf-8'?>-<manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="org.tagspaces.mobile" xmlns:android="http://schemas.android.com/apk/res/android">+<manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="org.tagspaces.mobileapp" xmlns:android="http://schemas.android.com/apk/res/android"><supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /><uses-permission android:name="android.permission.INTERNET" /><application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:requestLegacyExternalStorage="true" android:supportsRtl="true">@@ -74,12 +74,6 @@<provider android:authorities="${applicationId}.sharing.provider" android:exported="false" android:grantUriPermissions="true" android:name="nl.xservices.plugins.FileProvider"><meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/sharing_paths" /></provider>- <provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">- <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/mnk_file_path" />- </provider>- <provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">- <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/mnk_file_path" />- </provider></application><uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /><uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />diff --git a/cordova/platforms/android/app/src/main/java/org/apache/cordova/file/LocalFilesystem.java b/cordova/platforms/android/app/src/main/java/org/apache/cordova/file/LocalFilesystem.javaindex 051f99496..393344f4f 100644--- a/cordova/platforms/android/app/src/main/java/org/apache/cordova/file/LocalFilesystem.java+++ b/cordova/platforms/android/app/src/main/java/org/apache/cordova/file/LocalFilesystem.java@@ -272,7 +272,7 @@ public class LocalFilesystem extends Filesystem {}CordovaResourceApi.OpenForReadResult offr = resourceApi.openForRead(srcFs.toNativeUri(srcURL));- copyResource(offr, new FileOutputStream(destFile));+ resourceApi.copyResource(offr, new FileOutputStream(destFile));if (move) {srcFs.removeFileAtLocalURL(srcURL);@@ -470,44 +470,4 @@ public class LocalFilesystem extends Filesystem {File file = new File(path);return file.exists();}-- // This is a copy & paste from CordovaResource API that is required since CordovaResourceApi- // has a bug pre-4.0.0.- // TODO: Once [email protected] is released, delete this copy and make the plugin depend on- // 4.0.0 with an engine tag.- private static void copyResource(CordovaResourceApi.OpenForReadResult input, OutputStream outputStream) throws IOException {- try {- InputStream inputStream = input.inputStream;- if (inputStream instanceof FileInputStream && outputStream instanceof FileOutputStream) {- FileChannel inChannel = ((FileInputStream)input.inputStream).getChannel();- FileChannel outChannel = ((FileOutputStream)outputStream).getChannel();- long offset = 0;- long length = input.length;- if (input.assetFd != null) {- offset = input.assetFd.getStartOffset();- }- // transferFrom()'s 2nd arg is a relative position. Need to set the absolute- // position first.- inChannel.position(offset);- outChannel.transferFrom(inChannel, 0, length);- } else {- final int BUFFER_SIZE = 8192;- byte[] buffer = new byte[BUFFER_SIZE];-- for (;;) {- int bytesRead = inputStream.read(buffer, 0, BUFFER_SIZE);-- if (bytesRead <= 0) {- break;- }- outputStream.write(buffer, 0, bytesRead);- }- }- } finally {- input.inputStream.close();- if (outputStream != null) {- outputStream.close();- }- }- }}diff --git a/cordova/platforms/android/app/src/main/java/org/tagspaces/mobile/MainActivity.java b/cordova/platforms/android/app/src/main/java/org/tagspaces/mobileapp/MainActivity.javasimilarity index 97%rename from cordova/platforms/android/app/src/main/java/org/tagspaces/mobile/MainActivity.javarename to cordova/platforms/android/app/src/main/java/org/tagspaces/mobileapp/MainActivity.javaindex 76558b5d0..2fa774b44 100644--- a/cordova/platforms/android/app/src/main/java/org/tagspaces/mobile/MainActivity.java+++ b/cordova/platforms/android/app/src/main/java/org/tagspaces/mobileapp/MainActivity.java@@ -17,7 +17,7 @@under the License.*/-package org.tagspaces.mobile;+package org.tagspaces.mobileapp;import android.os.Bundle;import org.apache.cordova.*;diff --git a/cordova/platforms/android/app/src/main/res/xml/config.xml b/cordova/platforms/android/app/src/main/res/xml/config.xmlindex 34b8c6847..741a78d55 100644--- a/cordova/platforms/android/app/src/main/res/xml/config.xml+++ b/cordova/platforms/android/app/src/main/res/xml/config.xml@@ -1,5 +1,5 @@<?xml version='1.0' encoding='utf-8'?>-<widget id="org.tagspaces.mobile" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">+<widget id="org.tagspaces.mobileapp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"><feature name="IntentShim"><param name="android-package" value="com.darryncampbell.cordova.plugin.intent.IntentShim" /><param name="onload" value="true" />diff --git a/cordova/platforms/android/com.ourcodeworld.plugins.Filebrowser/mobile-plugin.gradle b/cordova/platforms/android/com.ourcodeworld.plugins.Filebrowser/mobileapp-plugin.gradlesimilarity index 100%rename from cordova/platforms/android/com.ourcodeworld.plugins.Filebrowser/mobile-plugin.gradlerename to cordova/platforms/android/com.ourcodeworld.plugins.Filebrowser/mobileapp-plugin.gradlediff --git a/cordova/platforms/android/platform_www/cordova_plugins.js b/cordova/platforms/android/platform_www/cordova_plugins.jsindex 0666e2eb6..f090a9271 100644--- a/cordova/platforms/android/platform_www/cordova_plugins.js+++ b/cordova/platforms/android/platform_www/cordova_plugins.js@@ -287,10 +287,10 @@ cordova.define('cordova/plugin_list', function(require, exports, module) {"cordova-plugin-background-mode": "0.7.3","cordova-plugin-camera": "4.1.0","cordova-plugin-chooser": "1.3.1",- "cordova-plugin-file": "6.0.2",+ "cordova-plugin-file": "7.0.0-dev","cordova-plugin-file-opener2": "3.0.4","cordova-plugin-whitelist": "1.3.4","es6-promise-plugin": "4.2.2","cordova-plugin-x-socialsharing": "5.6.8"};-});+});\ No newline at end of filediff --git a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/DirectoryEntry.js b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/DirectoryEntry.jsindex bb676eb6c..fcd620c74 100644--- a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/DirectoryEntry.js+++ b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/DirectoryEntry.js@@ -37,7 +37,6 @@ var DirectoryReader = require('./DirectoryReader');* {FileSystem} filesystem on which the directory resides (readonly)*/var DirectoryEntry = function (name, fullPath, fileSystem, nativeURL) {-// add trailing slash if it is missingif ((fullPath) && !/\/$/.test(fullPath)) {fullPath += '/';diff --git a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/Entry.js b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/Entry.jsindex b296d999e..5db846cfa 100644--- a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/Entry.js+++ b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/Entry.js@@ -152,7 +152,7 @@ Entry.prototype.copyTo = function (parent, newName, successCallback, errorCallbaerrorCallback(new FileError(code));};var srcURL = this.toInternalURL();- // entry name+ // entry namevar name = newName || this.name;// success callbackvar success = function (entry) {diff --git a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileReader.js b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileReader.jsindex 5c030913b..36d4dd4e6 100644--- a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileReader.js+++ b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileReader.js@@ -76,12 +76,24 @@ function defineEvent (eventName) {this._realReader[eventName] = value;});}-defineEvent('onloadstart'); // When the read starts.-defineEvent('onprogress'); // While reading (and decoding) file or fileBlob data, and reporting partial file data (progress.loaded/progress.total)-defineEvent('onload'); // When the read has successfully completed.-defineEvent('onerror'); // When the read has failed (see errors).-defineEvent('onloadend'); // When the request has completed (either in success or failure).-defineEvent('onabort'); // When the read has been aborted. For instance, by invoking the abort() method.++// When the read starts.+defineEvent('onloadstart');++// While reading (and decoding) file or fileBlob data, and reporting partial file data (progress.loaded/progress.total)+defineEvent('onprogress');++// When the read has successfully completed.+defineEvent('onload');++// When the read has failed (see errors).+defineEvent('onerror');++// When the request has completed (either in success or failure).+defineEvent('onloadend');++// When the read has been aborted. For instance, by invoking the abort() method.+defineEvent('onabort');function initRead (reader, file) {// Already loading something@@ -102,7 +114,7 @@ function initRead (reader, file) {}if (reader.onloadstart) {- reader.onloadstart(new ProgressEvent('loadstart', {target: reader}));+ reader.onloadstart(new ProgressEvent('loadstart', { target: reader }));}}@@ -126,10 +138,12 @@ function readSuccessCallback (readType, encoding, offset, totalSize, accumulate,if (readType === 'readAsDataURL') {// Windows proxy does not support reading file slices as Data URLs// so read the whole file at once.- CHUNK_SIZE = cordova.platformId === 'windows' ? totalSize : // eslint-disable-line no-undef- // Calculate new chunk size for data URLs to be multiply of 3- // Otherwise concatenated base64 chunks won't be valid base64 data- FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3;+ CHUNK_SIZE = cordova.platformId === 'windows' ? totalSize // eslint-disable-line no-undef+ : (+ // Calculate new chunk size for data URLs to be multiply of 3+ // Otherwise concatenated base64 chunks won't be valid base64 data+ FileReader.READ_CHUNK_SIZE - (FileReader.READ_CHUNK_SIZE % 3) + 3+ );}if (typeof r !== 'undefined') {@@ -137,7 +151,7 @@ function readSuccessCallback (readType, encoding, offset, totalSize, accumulate,this._progress = Math.min(this._progress + CHUNK_SIZE, totalSize);if (typeof this.onprogress === 'function') {- this.onprogress(new ProgressEvent('progress', {loaded: this._progress, total: totalSize}));+ this.onprogress(new ProgressEvent('progress', { loaded: this._progress, total: totalSize }));}}@@ -157,11 +171,11 @@ function readSuccessCallback (readType, encoding, offset, totalSize, accumulate,this._readyState = FileReader.DONE;if (typeof this.onload === 'function') {- this.onload(new ProgressEvent('load', {target: this}));+ this.onload(new ProgressEvent('load', { target: this }));}if (typeof this.onloadend === 'function') {- this.onloadend(new ProgressEvent('loadend', {target: this}));+ this.onloadend(new ProgressEvent('loadend', { target: this }));}}}@@ -180,11 +194,11 @@ function readFailureCallback (e) {this._error = new FileError(e);if (typeof this.onerror === 'function') {- this.onerror(new ProgressEvent('error', {target: this}));+ this.onerror(new ProgressEvent('error', { target: this }));}if (typeof this.onloadend === 'function') {- this.onloadend(new ProgressEvent('loadend', {target: this}));+ this.onloadend(new ProgressEvent('loadend', { target: this }));}}@@ -205,11 +219,11 @@ FileReader.prototype.abort = function () {// If abort callbackif (typeof this.onabort === 'function') {- this.onabort(new ProgressEvent('abort', {target: this}));+ this.onabort(new ProgressEvent('abort', { target: this }));}// If load end callbackif (typeof this.onloadend === 'function') {- this.onloadend(new ProgressEvent('loadend', {target: this}));+ this.onloadend(new ProgressEvent('loadend', { target: this }));}};diff --git a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileWriter.js b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileWriter.jsindex c3e856219..9f141e085 100644--- a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileWriter.js+++ b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/FileWriter.js@@ -54,12 +54,23 @@ var FileWriter = function (file) {this.error = null;// Event handlers- this.onwritestart = null; // When writing starts- this.onprogress = null; // While writing the file, and reporting partial file data- this.onwrite = null; // When the write has successfully completed.- this.onwriteend = null; // When the request has completed (either in success or failure).- this.onabort = null; // When the write has been aborted. For instance, by invoking the abort() method.- this.onerror = null; // When the write has failed (see errors).+ // When writing starts+ this.onwritestart = null;++ // While writing the file, and reporting partial file data+ this.onprogress = null;++ // When the write has successfully completed.+ this.onwrite = null;++ // When the request has completed (either in success or failure).+ this.onwriteend = null;++ // When the write has been aborted. For instance, by invoking the abort() method.+ this.onabort = null;++ // When the write has failed (see errors).+ this.onerror = null;};// States@@ -83,12 +94,12 @@ FileWriter.prototype.abort = function () {// If abort callbackif (typeof this.onabort === 'function') {- this.onabort(new ProgressEvent('abort', {'target': this}));+ this.onabort(new ProgressEvent('abort', { target: this }));}// If write end callbackif (typeof this.onwriteend === 'function') {- this.onwriteend(new ProgressEvent('writeend', {'target': this}));+ this.onwriteend(new ProgressEvent('writeend', { target: this }));}};@@ -99,7 +110,6 @@ FileWriter.prototype.abort = function () {* @param isPendingBlobReadResult {Boolean} true if the data is the pending blob read operation result*/FileWriter.prototype.write = function (data, isPendingBlobReadResult) {-var that = this;var supportsBinary = (typeof window.Blob !== 'undefined' && typeof window.ArrayBuffer !== 'undefined');/* eslint-disable no-undef */@@ -123,12 +133,12 @@ FileWriter.prototype.write = function (data, isPendingBlobReadResult) {// If onerror callbackif (typeof that.onerror === 'function') {- that.onerror(new ProgressEvent('error', {'target': that}));+ that.onerror(new ProgressEvent('error', { target: that }));}// If onwriteend callbackif (typeof that.onwriteend === 'function') {- that.onwriteend(new ProgressEvent('writeend', {'target': that}));+ that.onwriteend(new ProgressEvent('writeend', { target: that }));}};@@ -162,7 +172,7 @@ FileWriter.prototype.write = function (data, isPendingBlobReadResult) {// If onwritestart callbackif (typeof me.onwritestart === 'function') {- me.onwritestart(new ProgressEvent('writestart', {'target': me}));+ me.onwritestart(new ProgressEvent('writestart', { target: me }));}// Write file@@ -185,12 +195,12 @@ FileWriter.prototype.write = function (data, isPendingBlobReadResult) {// If onwrite callbackif (typeof me.onwrite === 'function') {- me.onwrite(new ProgressEvent('write', {'target': me}));+ me.onwrite(new ProgressEvent('write', { target: me }));}// If onwriteend callbackif (typeof me.onwriteend === 'function') {- me.onwriteend(new ProgressEvent('writeend', {'target': me}));+ me.onwriteend(new ProgressEvent('writeend', { target: me }));}},// Error callback@@ -208,12 +218,12 @@ FileWriter.prototype.write = function (data, isPendingBlobReadResult) {// If onerror callbackif (typeof me.onerror === 'function') {- me.onerror(new ProgressEvent('error', {'target': me}));+ me.onerror(new ProgressEvent('error', { target: me }));}// If onwriteend callbackif (typeof me.onwriteend === 'function') {- me.onwriteend(new ProgressEvent('writeend', {'target': me}));+ me.onwriteend(new ProgressEvent('writeend', { target: me }));}}, 'File', 'write', [this.localURL, data, this.position, isBinary]);};@@ -269,7 +279,7 @@ FileWriter.prototype.truncate = function (size) {// If onwritestart callbackif (typeof me.onwritestart === 'function') {- me.onwritestart(new ProgressEvent('writestart', {'target': this}));+ me.onwritestart(new ProgressEvent('writestart', { target: this }));}// Write file@@ -290,12 +300,12 @@ FileWriter.prototype.truncate = function (size) {// If onwrite callbackif (typeof me.onwrite === 'function') {- me.onwrite(new ProgressEvent('write', {'target': me}));+ me.onwrite(new ProgressEvent('write', { target: me }));}// If onwriteend callbackif (typeof me.onwriteend === 'function') {- me.onwriteend(new ProgressEvent('writeend', {'target': me}));+ me.onwriteend(new ProgressEvent('writeend', { target: me }));}},// Error callback@@ -313,12 +323,12 @@ FileWriter.prototype.truncate = function (size) {// If onerror callbackif (typeof me.onerror === 'function') {- me.onerror(new ProgressEvent('error', {'target': me}));+ me.onerror(new ProgressEvent('error', { target: me }));}// If onwriteend callbackif (typeof me.onwriteend === 'function') {- me.onwriteend(new ProgressEvent('writeend', {'target': me}));+ me.onwriteend(new ProgressEvent('writeend', { target: me }));}}, 'File', 'truncate', [this.localURL, size]);};diff --git a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.jsindex 73715bc0e..494de62ff 100644--- a/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js+++ b/cordova/platforms/android/platform_www/plugins/cordova-plugin-file/www/resolveLocalFileSystemURI.js@@ -70,7 +70,7 @@ cordova.define("cordova-plugin-file.resolveLocalFileSystemURI", function(requirefileSystems.getFs(fsName, function (fs) {// This should happen only on platforms that haven't implemented requestAllFileSystems (windows)if (!fs) {- fs = new FileSystem(fsName, {name: '', fullPath: '/'}); // eslint-disable-line no-undef+ fs = new FileSystem(fsName, { name: '', fullPath: '/' }); // eslint-disable-line no-undef}var result = (entry.isDirectory) ? new DirectoryEntry(entry.name, entry.fullPath, fs, entry.nativeURL) : new FileEntry(entry.name, entry.fullPath, fs, entry.nativeURL);successCallback(result);diff --git a/cordova/platforms/android/project.properties b/cordova/platforms/android/project.propertiesindex 43d3a1420..b50c4413f 100644--- a/cordova/platforms/android/project.properties+++ b/cordova/platforms/android/project.properties@@ -12,7 +12,7 @@ target=android-29android.library.reference.1=CordovaLibandroid.library.reference.2=appcordova.system.library.1=androidx.core:core:1.1.0-cordova.gradle.include.1=com.ourcodeworld.plugins.Filebrowser/mobile-plugin.gradle+cordova.gradle.include.1=com.ourcodeworld.plugins.Filebrowser/mobileapp-plugin.gradlecordova.system.library.2=androidx.legacy:legacy-support-v4:1.0.0cordova.system.library.3=androidx.legacy:legacy-support-v4:1.0.0-cordova.system.library.4=androidx.legacy:legacy-support-v4:1.0.0+cordova.system.library.4=androidx.legacy:legacy-support-v4:1.0.0\ No newline at end of file