Share via

i want that my xamarin app keep working in background

bilel miled 21 Reputation points
2021-02-03T14:30:49.627+00:00

Hi, i am developing an app with xamarin for iOS and android.
and i want to keep my app working even if the phone is in my pocket and recieving notifications .
Please i need help .

Developer technologies | .NET | Xamarin
0 comments No comments

1 answer

Sort by: Most helpful
  1. JessieZhang-MSFT 7,721 Reputation points Microsoft External Staff
    2021-02-04T02:09:23.033+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    Hello,

    You can use background services to achieve this.

    Because each platform has their own way and rules for background services. You have to make services for each platform.

    For more details, you can check :https://www.xamarinhelp.com/xamarin-background-tasks/

    And we will find many tutorials when we enter key words xamarin background services.

    For example: https://www.youtube.com/watch?v=Z1YzyreS4-o

    https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/backgrounding/

    https://learn.microsoft.com/en-us/xamarin/android/app-fundamentals/services/

    Best Regards,

    Jessie Zhang

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.