以下 Phonegap 项目(Phonegap Build)无法正常工作:
config.xml:
闪屏一直停留且无法加载。重定向到主页也无法正常工作。
我尝试了这个链接: PhoneGap Build iOS app has blank white screen after splash screen 以及这个链接: http://community.phonegap.com/nitobi/topics/splash_screen_autohidesplashscreen_false_not_working_iphone_ios7 (插件版本为0.2.3),但都没有效果。请问还有什么办法?
config.xml:
<preference name="AutoHideSplashScreen" value="false" />
<preference name="SplashScreenDelay" value="10000"/>
<gap:plugin name="org.apache.cordova.splashscreen" />
索引:
<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>
闪屏一直停留且无法加载。重定向到主页也无法正常工作。
我尝试了这个链接: PhoneGap Build iOS app has blank white screen after splash screen 以及这个链接: http://community.phonegap.com/nitobi/topics/splash_screen_autohidesplashscreen_false_not_working_iphone_ios7 (插件版本为0.2.3),但都没有效果。请问还有什么办法?