![]() Well, simply execution will be interrupted or paused until it becomes in the foreground again so imagine if you have an app that plays music, do you want it to stop playing music when you run another app in the foreground? of course not! what about messaging apps? do you want your app to stop receiving messages once it's in the background? again of course not! How about a GPS tracking app? So I think you get the idea, many apps need to keep executing while it's in the background. Why Handling the Background Mode in your Ionic 5 Apps?īut first what happens with your Ionic 5/Angular (or Ionic 3) app, once it's hidden or minimized, if it doesn't properly handle background mode? We'll see how you can keep your app running while it's in the background (minimized). This tutorial will cover an example use case of the Cordova background mode plugin with Ionic 5/Angular (previously Ionic 3).
0 Comments
Leave a Reply. |