From 0cb90ff8f2611935c3731e6528d6589d9ee9151d Mon Sep 17 00:00:00 2001 From: jdat82 Date: Fri, 29 Jan 2016 02:51:17 +0100 Subject: [PATCH] Finally. Splashscreen is good. --- app/app.run.js | 3 ++- config.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/app.run.js b/app/app.run.js index 80b168d..e052a76 100644 --- a/app/app.run.js +++ b/app/app.run.js @@ -47,8 +47,9 @@ $http.defaults.cache = new CacheFactory('defaultCache', options); } - function checkRequirements($state) { + function checkRequirements($state, $cordovaSplashscreen, $timeout) { $state.go('tab.dash'); + $timeout($cordovaSplashscreen.hide, 1000); } diff --git a/config.xml b/config.xml index 7a2d1f0..df90de1 100644 --- a/config.xml +++ b/config.xml @@ -14,8 +14,7 @@ - - + @@ -27,6 +26,7 @@ +