The following Phonegap project (Phonegap Build) is not working:
config.xml:
<preference name="AutoHideSplashScreen" value="false" />
<preference name="SplashScreenDelay" value="10000"/>
<gap:plugin name="org.apache.cordova.splashscreen" />
Index:
<head>
<script type="text/javascript" charset="utf-8">
window.location = 'http://www.example.com/login';
document.AddEventListener("deviceready", OnDeviceReady, false);
function OnDeviceReady() {
setTimeout(function() {
navigator.splashscreen.hide();
}, 6000);
};
</script>
</head>
The splash screen stays all the time and loads. The redirecting to the homepage is not working.
I tried this: PhoneGap Build iOS app has blank white screen after splash screen
this: http://community.phonegap.com/nitobi/topics/splash_screen_autohidesplashscreen_false_not_working_iphone_ios7 (Version 0.2.3 of Plugin)
Nothing is working. Any idea?