Skip to content

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

TS75 - fixed splashscreen

Borislav Sapundzhievdbc201f1eee9
diff --git a/data/cordova/cordova.api.js b/data/cordova/cordova.api.js
index 6ea4d7af4..e9f1bb4cb 100644
--- a/data/cordova/cordova.api.js
+++ b/data/cordova/cordova.api.js
@@ -41,7 +41,6 @@ define(function(require, exports, module) {
// iOS specific initialization
if (isCordovaiOS) {
- navigator.splashscreen.hide();
window.plugins = window.plugins || {};
// TODO: use fileOpener2 plugin on all platforms
// https://build.phonegap.com/plugins/1117
@@ -59,6 +58,12 @@ define(function(require, exports, module) {
attachFastClick(document.body);
getFileSystem();
+
+ if (isCordovaiOS) {
+ setTimeout(function() {
+ navigator.splashscreen.hide();
+ }, 1000);
+ }
}
function onDeviceResume() {