Skip to content

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

add openUrl functionality

Ilian Sapundshievd2c71cf10357
diff --git a/app/services/cordova-io.js b/app/services/cordova-io.js
index 502a15383..963d666f1 100644
--- a/app/services/cordova-io.js
+++ b/app/services/cordova-io.js
@@ -1131,6 +1131,10 @@ export default class CordovaIO {
}
};
+ openUrl = (url: string): void => {
+ window.open(url, '_system');
+ };
+
/**
* Places the application window on top of the other windows
*/