TagSpaces is an offline, open source, document manager with tagging support
merging
uggrockbfdf51d8e600
diff --cc data/cordova/cordova.api.jsindex 239e12ada,fbbd9bfc7..6e1cf4a58--- a/data/cordova/cordova.api.js+++ b/data/cordova/cordova.api.js@@@ -42,26 -42,27 +42,27 @@@ define(function(require, exports, modul// TODO: use fileOpener2 plugin on all platforms// https://build.phonegap.com/plugins/1117window.plugins.fileOpener = cordova.plugins.fileOpener2;- }+ }- if (isCordovaAndroid) {- if (window.plugins.webintent) {- window.plugins.webintent.getUri(function(url) {- if(url) {- if ("createTXTFile" === url || url.indexOf("TagSpaces") > 0) {- widgetAction = url;- } else {- urlFromIntent = url;- }+ if (window.plugins.webintent) {+ window.plugins.webintent.getUri(+ function(url) {+ if ("createTXTFile" === url || url.indexOf("TagSpaces") > 0) {+ widgetAction = url;+ } else {+ urlFromIntent = url;}- });- window.plugins.webintent.onNewIntent(function(url) {- widgetAction = url;- widgetActionHandler();- });- }- },- function(error) {- TSCORE.showAlertDialog("WebIntent Error: " + error);+ }++ //, function(error) {++ // TSCORE.showAlertDialog("WebIntent Error: " + error);++ //}+ );+ window.plugins.webintent.onNewIntent(function(url) {+ widgetAction = url;+ widgetActionHandler();+ });}-+attachFastClick(document.body);getFileSystem();