Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Questions on periodic background tasks for Android and iOS

$
0
0

Hi all,

I am planning to start my first Xamarin.Forms project soon. I have been working with UWP for a long time, and the background tasks are pretty awesome.

To me, it's not entirely clear if the following use case would be achievable:

  • Run a background task (meaning that the app is NOT open) every ~15 minutes.
  • Fetch data from a remote server (small JSON file).
  • Some logic that will check the data and show a notification to the user in some cases.
  • Ideally also update the content of the app's widget.

I saw some documentation for Xamarin.Android related to Services, but for iOS it's unclear if this would be achievable.

Can someone point me to the correct documentation, or if the above scenario is possible for both iOS and Android?

Kind regards,
Niels


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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