简体   繁体   中英

Set splashscreen delay on Meteor Cordova

How can I set the splashscreen delay on a meteor project?

I tried

App.setPreference('SplashScreenDelay', '1000');

but this is not working. The default delay is now approx 25 seconds.

I got a Correct answer about Meteor Js. File Directory mobile-config.js file to add following code to set spalshscreen delay .

App.setPreference('AutoHideSplashScreen', 'true');
App.setPreference('SplashScreenDelay', '5000'); //5 seconds delay 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM