Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

How to detect when app is minimized? Handling real time messaging

$
0
0

I have two parts to the question.

I’m testing an app that is somewhat real time messaging which hits the database every few seconds to check for new messages.

When i minimized the app, it’s continuing to hit the database. I’m not sure how this can scale properly with multiple users.

  1. Is this common with apps? How do other apps handle this.
  2. Is there anyway I can detect when an app is minimized and potentially reduce the calls.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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