Hello, I am writing from Turkey.
my english is very bad.
code is running in the background when you click the button.
this code is running in the background.
screenshot:
code doesn't work when I fully exit the program. this code does not work if I close the program completely.
question :
How do I run this code even if I exit the program completely ? I want this code to run even if the application exits. how do i do it ? this code does not work when you close the application.
Posts
I am writing in xamarin.forms
I think you should use some platform specific code.
maybe this
https://devblogs.microsoft.com/xamarin/replacing-services-jobs-android-oreo-8-0/
I want my code to run even when the program is closed.
For example, when we close the instagram message notification comes.
I want my code to run even when the program is closed
https://stackoverflow.com/questions/49418740/how-to-implement-an-android-service-in-xamarin-forms
my problem is the same as here. Is there a solution?