Does Xamarin.Forms support periodic background tasks?
XF has no implementation for background tasks. You will need to implement these natively. Below are examples on how to do it for each type of project.
UWP
https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BackgroundTask
WinRT
https://visualstudiomagazine.com/articles/2013/05/01/background-tasks-in-windows-store-apps.aspx
iOS
Just for those that want iOS as well. https://developer.xamarin.com/guides/ios/application_fundamentals/backgrounding/part_3_ios_backgrounding_techniques/
Xamarin.Forms
Going into more detail for each section is https://xamarinhelp.com/xamarin-background-tasks/
Scott Nimrod
I am a Software Consultant / SDET focused on cross-platform development: Xamarin.Forms, WPF, Windows 8, Windows Phone 8, Android, IOS, and Test Automation. They cannot deny what I have already accomplished. My contributions can be found in the following: Github: https://github.com/bizmonger/Holoware Nuget: http://www.nuget.org/packages?q=Bizmonger Blog: https://bizmonger.wordpress.com/
Updated on June 04, 2022Comments
-
Scott Nimrod about 2 years
I am having a difficult time finding documentation on background tasks support for Xamarin.Forms. Does Xamarin.Forms provide support for periodic background tasks?
I need to implement this for both Windows Phone 10 and Android.