ねえ、私はアンドロイドでうまく動作するアンドロイド/ iPhoneアプリを作成しましたが、何らかの理由でそれはスプラッシュ画面/ロードアニメーションを表示し、それを超えません。
画面は次のようになります。
私のconfig.xmlファイルには次のものがあります。
<!--App settings -->
<preference name="phonegap-version" value="2.3.0" />
<preference name="orientation" value="portrait" />
<preference name="fullscreen" value="true" />
<preference name="exit-on-suspend" value="true" />
<preference name="auto-hide-splash-screen" value="false" />
<preference name="splash-screen-duration" value="10000" />
<preference name="webviewbounce" value="true" />
そして私のjavascriptで私は持っています:
//Wait for device
function onDeviceReady() {
navigator.splashscreen.hide();
}
document.addEventListener("deviceready", onDeviceReady, false);
ただし、index.htmlファイルには次のコードを使用しています。
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=310;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title></title>
</head>
<body>
<script>
window.location='https://fb.zzzzzzz.com/xxxxxx/index.php';
</script>
</body>
</html>
どのような設定がありませんか?.htmlの後に.phpページを呼び出していることが原因でしょうか?