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

Detecting when the app has been minimized/restored in Ionic 2

$
0
0

@frobl wrote:

Hello there :slight_smile:

I am trying to figure out how to detect when my app has been "minimized" (ie. no longer is active) and when it is restored. It's important because I want to disconnect/reconnect SocketIO when the app is restored and kill it when it's minimized.

I've found docs on Ionic 1 with the "pause" and "refresh" events, but I can't find any examples on how to use this with Ionic 2.

Any advise would be very appreciated!

Thank you!

Posts: 2

Participants: 2

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>