Hello,
What service do I need for the backgroundservice? WorkManager or something else?
You can use WorkManager to execute tasks in background.
Is there any recent sample code like a weather widget, that works on Android 5-13 but without the deprecated JobItentService?
No, there are no these samples like weather widget, but Xamarin has a blog about using WorkManager. Please refer to Getting Started With WorkManager
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.