Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Loading Indicator In Background

$
0
0

@kyle_2017 wrote:

Hi all,

I’ve noticed that loading dialog doesn’t get displayed while the app/webpage is in the background. And once it’s brought to the foreground all the loading popovers seem to be presented and dismissed one after another.

In my instance, I have a socket open and if that connection drops, a loading indicator is presented, then dismissed when the connection is reestablished. If the app is in the background and this happens, the popover doesn’t get displayed/dismissed until the user bring the app to the foreground. And if this happens multiple times, the popover flashes at the user as many times as the re connection occurred.

Is this something that other’s have come across? I could figure out a workaround but it’d be a pain and this seems like something that should work better.

Some ionic info…

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 1.3.12
Cordova Platforms  : android 6.3.0 browser 5.0.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.5.0

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>