APP only works the first time on iOs


#1

Hi, im having a problem since I’m trying to test my app on iOS.

The first time I install my app on an emulator/device the app works correctly. But if I close my app, and open again the app don’t work anymore and get stuck on the white screen forever.

My ionic info is:

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.14.0
    ionic (Ionic CLI) : 3.14.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : ios 4.5.2
    Ionic Framework    : ionic-angular 3.7.1

System:

    Node  : v8.7.0
    npm   : 5.4.2 
    OS    : macOS Sierra
    Xcode : Xcode 9.0 Build version 9A235 

Misc:

    backend : pro

I tried so many solutions, like remove and add de platforms, remove and add de plugin one by one. The app works on Android perfectly, but on iOS I have this problem.

Can someone help me?


#2

I fixed this by changing my config.xml to have
<preference name="AutoHideSplashScreen" value="true" />