2017-03-07 11 views
0

私はコーナーjを使ってコードバとイオンでアプリを構築しています。私がアンドロイドにプロジェクトを納得させると、すべて正常に動作しますが、iOSでは何も接続できません。コルドバイオンはどんなインターネットサービスにも接続できません

私はfirebaseデータベースにログインしようとしているだけでなく、いくつかのHTTP要求を交換しています。再び、すべてがうまくアンドロイドで動作します。ここで

は私のconfig.xmlです:

<?xml version='1.0' encoding='utf-8'?> 
<widget id="private.private.private" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> 
    <name>Puurs 725</name> 
    <description>An awesome Ionic/Cordova app.</description> 
    <author email="[email protected]" href="http://ionicframework.com/">Ionic Framework Team</author> 
    <content src="index.html" /> 
    <access origin="*" /> 
    <allow-navigation href="http://ionic.local/*" /> 
    <allow-intent href="http://*/*" /> 
    <allow-intent href="https://*/*" /> 
    <allow-intent href="tel:*" /> 
    <allow-intent href="sms:*" /> 
    <allow-intent href="mailto:*" /> 
    <allow-intent href="geo:*" /> 
    <allow-navigation href="*://*youtube.com" /> 
    <allow-navigation href="*" /> 
    <platform name="android"> 
     <allow-intent href="market:*" /> 
    </platform> 
    <platform name="ios"> 
     <allow-intent href="itms:*" /> 
     <allow-intent href="itms-apps:*" /> 
    </platform> 
    <preference name="webviewbounce" value="false" /> 
    <preference name="UIWebViewBounce" value="false" /> 
    <preference name="DisallowOverscroll" value="true" /> 
    <preference name="android-minSdkVersion" value="16" /> 
    <preference name="BackupWebStorage" value="none" /> 
    <preference name="SplashMaintainAspectRatio" value="true" /> 
    <preference name="FadeSplashScreenDuration" value="300" /> 
    <preference name="SplashShowOnlyFirstTime" value="false" /> 
    <feature name="StatusBar"> 
     <param name="ios-package" onload="true" value="CDVStatusBar" /> 
    </feature> 
    <plugin name="ionic-plugin-keyboard" spec="~2.2.1" /> 
    <plugin name="cordova-plugin-whitelist" spec="1.3.1" /> 
    <plugin name="cordova-plugin-console" spec="1.0.5" /> 
    <plugin name="cordova-plugin-statusbar" spec="2.2.1" /> 
    <plugin name="cordova-plugin-device" spec="1.1.4" /> 
    <plugin name="cordova-plugin-splashscreen" spec="~4.0.1" /> 
    <plugin name="NetworkStatus" value="CDVConnection" /> 
    <plugin name="cordova-plugin-googleplus" spec="~5.1.1"> 
     <variable name="REVERSED_CLIENT_ID" value="com.googleusercontent.apps.lotsofprivatenumbers" /> 
    </plugin> 
</widget> 

楽しい事はこれが働くことになったということです。しかし私は誤ってindex.htmlファイルを上書きしました。私のインデックスのメタデータには、私は持っています:

<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'"> 

誰にでも鐘を鳴らしますか?

答えて

0

さて、私は私のMacに私のipadを実行する私のipadを接続する方法を学んだ、Safariコンソール(この機能は素晴らしいです)をデバッグし、javascriptエラーがさらに実行をブロックしていたことがわかりました。

具体的には、Object.valuesはサファリではサポートされていません。

関連する問題