iOS, app stuck on splash screen with loading animation

I had a similar problem where the app used to be stuck with a loading icon on my homepage. Removing ios and android platforms and re-adding them and then re-adding the “splashscreen” ionic plugin (cordova-plugin-splashscreen 3.2.1 “Splashscreen”) fixed it for me.
Cordova v6.1

@geshd91, I’m very grateful for your insight on this issue as I lost 5 days on this problem. The weird thing about this is that the code works fine on Android and Windows platforms, but not iOS. So, why would the splash screen plugin work inconsistently on iOS. This seems like a bug that should be fixed. As I was grappling with this, I kept suspecting some part of my code and never paid attention to the splash screen.

@Atsats : could you get it the app fixed for app freeze on ios? if yes then would you please share what did the trick?

Hi all,

After being stuck for hours with this bug, I succeed to fix it in my case. It was a problem of “allow-navigation” and I had to allow navigation to my current ip in the config.xml by adding the line : <allow-navigation href="http://192.168.10.169:8100/"/>

Hope it can help someone,

Ghislain

2 Likes

I was facing this issue and I could fix adding these following lines in config.xml:

  <allow-navigation href="*"/>
  <allow-intent href="http://*/*"/>
  <allow-intent href="https://*/*"/>
3 Likes

put this in config.xml

**

thk’s freind it was a solution

This approach also resolved my issues. I would like to point out though, that I don’t think it is the specific plugins you mentioned; e.g. I don’t have the cordova-plugin-push.

I just ran the ionic state reset command (which as part of its process uninstalls and reinstall your project plugins).

But Yes, it works now :slight_smile:

this worked for me thanks