Ionic2/cordova is working 1/2 times?

Hi

I have made an app. I installed it on my iphone. On launch, it is working 1 out of 2 time. No idea why. I tried offline/online.

Any idea? It should be working or Not. But not 1 out of 2 time. It is working fine every time on Chrome.

I tried to debug but can’t see anything.

Thanks
Stephane.