mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Hide the splash screen only after the plugins and page is loaded
This commit is contained in:
@@ -8,6 +8,11 @@ var ready = function() {
|
||||
if (awaitingEventsCount > 0)
|
||||
return;
|
||||
|
||||
// XXX hide the splash screen if such exists, only on mobile
|
||||
if (Meteor.isCordova) {
|
||||
navigator.splashscree && navigator.splashscreen.hide();
|
||||
}
|
||||
|
||||
loaded = true;
|
||||
while (queue.length)
|
||||
(queue.shift())();
|
||||
|
||||
@@ -1225,7 +1225,8 @@ var consumeControlFile = function (controlFilePath, cordovaPath) {
|
||||
// set some defaults different from the Phonegap/Cordova defaults
|
||||
var additionalConfiguration = {
|
||||
'webviewbounce': false,
|
||||
'DisallowOverscroll': true
|
||||
'DisallowOverscroll': true,
|
||||
'AutoHideSplashScreen': false
|
||||
};
|
||||
var imagePaths = {
|
||||
icon: {},
|
||||
|
||||
Reference in New Issue
Block a user