Skip to content

TagSpaces is an offline, open source, document manager with tagging support

iOS cordova load

Borislav Sapundzhieve225fcb2332a
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index e81f1c6b8..64e0162e7 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -31,9 +31,11 @@ define(function(require, exports, module) {
e.preventDefault();
}, false);
- window.plugins.webintent.getUri(function(url) {
- urlFromIntent = url;
- });
+ if (window.plugins && window.plugins.webintent) {
+ window.plugins.webintent.getUri(function(url) {
+ urlFromIntent = url;
+ });
+ }
getFileSystem();
}