Content randomly flashes white when switching app to foreground

Hello, please bear with me if this is obvious.

I’m almost finished writing an Ionic v1 app, but I’m having an issue which I don’t know how to even begin to debug.

It goes like this:

  1. I open my Ionic app on a mobile device (usually in Android 6.0.1 but have also tested in iOS)
  2. I put my app in the background, for example by switching to another app or just tapping the mobile’s home button to see the “desktop”.
  3. I put my app back again in the foreground

The problem is that sometimes when I switch back to my app (third step), the app screen content flashes white for a moment. This “moment” ranges from almost imperceptible to 5 seconds or so (it varies depending on I don’t know what). Many times, however, the content will show without any white screen at all.

Is this expected behavior? Or does anyone have an idea what could trigger such a thing?

Thank you!

My ionic info:

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Node Version: v6.9.1

Hello,

Can someone think of anything I might look for here?

Thanks a lot