2016-03-20 17 views
1

Ich habe eine ionische App, die ziemlich weit davon entfernt ist und jetzt bei Last einfriert. Nach einigen Nachforschungen glaube ich, dass dies an meiner Datei config.xml liegen könnte.Ionic App friert beim Laden ein

Dies ist der Kern der Datei ist (minus der App-ID und anderen app empfindlichen Sachen):

<content src="index.html" /> 

<access origin="*" /> 
<allow-navigation href="*" /> 
<allow-intent href="*.firebaseio.com" /> 
<allow-intent href="auth.firebase.com" /> 

<preference name="webviewbounce" value="false" /> 
<preference name="UIWebViewBounce" value="false" /> 
<preference name="DisallowOverscroll" value="true" /> 
<preference name="BackupWebStorage" value="none" /> 
<preference name="SplashScreen" value="screen" /> 
<preference name="SplashScreenDelay" value="3000" /> 
<preference name="AutoHideSplashScreen" value="false" /> 
<preference name="ShowSplashScreenSpinner" value="false" /> 
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" /> 

<feature name="StatusBar"> 
    <param name="ios-package" onload="true" value="CDVStatusBar" /> 
</feature> 
<feature name="SocialSharing"> 
    <param name="id" value="nl.x-services.plugins.socialsharing" /> 
    <param name="url" value="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git" /> 
</feature> 
<feature name="InAppBrowser"> 
    <param name="id" value="cordova-plugin-inappbrowser" /> 
    <param name="url" value="https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git" /> 
</feature> 
<feature name="InAppBrowser"> 
    <param name="ios-package" value="CDVInAppBrowser" /> 
</feature> 
<feature name="InAppBrowser"> 
    <param name="android-package" value="org.apache.cordova.InAppBrowser" /> 
</feature> 
<feature name="CDVWKWebViewEngine"> 
    <param name="ios-package" value="CDVWKWebViewEngine" /> 
</feature> 

<platform name="ios"> 
    <icon height="57" src="resources/ios/icon/icon.png" width="57" /> 
    <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> 
    <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> 
    <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> 
    <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> 
    <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> 
    <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> 
    <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> 
    <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> 
    <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> 
    <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> 
    <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> 
    <icon height="152" src="resources/ios/icon/i[email protected]" width="152" /> 
    <icon height="29" src="resources/ios/icon/icon-small.png" width="29" /> 
    <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> 
    <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> 
    <splash height="1136" src="resources/ios/splash/[email protected]~iphone.png" width="640" /> 
    <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> 
    <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> 
    <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> 
    <splash height="1536" src="resources/ios/splash/[email protected]~ipad.png" width="2048" /> 
    <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> 
    <splash height="2048" src="resources/ios/splash/[email protected]~ipad.png" width="1536" /> 
    <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> 
    <splash height="960" src="resources/ios/splash/[email protected]~iphone.png" width="640" /> 
    <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> 
</platform> 

<icon src="resources/ios/icon/[email protected]" /> 

<plugin name="org.apache.cordova.splashscreen" spec="~1.0.0" /> 
<plugin name="ionic-plugin-keyboard" spec="~1.0.8" /> 
<plugin name="cordova-plugin-camera" spec="~2.1.0" /> 
<plugin name="cordova-plugin-whitelist" spec="~1.2.1" /> 
<plugin name="org.apache.cordova.device" spec="~0.3.0" /> 
<plugin name="phonegap-plugin-push" spec="~1.5.3" /> 
<plugin name="cordova-plugin-badge" spec="~0.7.2" /> 
<plugin name="phonegap-plugin-barcodescanner" spec="https://github.com/phonegap/phonegap-plugin-barcodescanner.git" /> 
<plugin name="cordova-plugin-nativeaudio" spec="~3.0.6" /> 

bietet Beratung jemand auf, wenn etwas die Anwendung auf Last einfrieren würde?

THanks

+1

an welchem ​​Punkt es gefrieren zu aktualisieren? Ist dies auf Gerät/Emulator oder ionischen dienen? Wenn es auf dem Gerät über den Begrüßungsbildschirm gelangt und es zeigt HTML oder weißen Bildschirm? Was sagt es in der Konsole? – Ant

+0

Ich bekomme keinen Konsolenfehler. Es passiert auf einem Gerät und Emulator (iOS bisher nur getestet). Der Begrüßungsbildschirm erscheint, dann ein weißer Bildschirm (ich glaube, der Firebase Social Login erscheint), dann friert er in der Standardansicht kurz vor dem Laden der Daten ein. Wenn ich die App herunterfahre und sie erneut laufe, läuft sie manchmal gut. Ich dachte auch, es könnte ein Routing-Auth-Problem sein. Aber Google zeigte auf die Datei config.xml. – rcpilotp51

+0

@Anything alles, was Sie vorschlagen können? – rcpilotp51

Antwort

1

Sie benötigen cordova-ios zu 4.2.0

ionic platform remove ios 
ionic platform add [email protected] 
Verwandte Themen