I want to create a background service always run and loop a function in Xamarin.Forms, especially is in Android first, i tried Service with timer and Intent Service but not work. Please help me :(
-
@Dat,According to your description, if you just want to loop a function in background service, I suggest you can do one Infinite loop function, called in background service. Here is about creating service:learn.microsoft.com/en-us/xamarin/android/app-fundamentals/…– Cherry Bu - MSFTCommented Jun 12, 2019 at 7:12
Add a comment
|
1 Answer
You can use MatchBacgroundService Nuget. It has a really simple API, and full of examples in their repo.
-
tried again, download Reactive.Core and this Nuget dont work when i close app Commented Jun 12, 2019 at 8:25