07/23/2022, 9:01 AM
Android killed service after 1hour Xamarin I want to write an application that requests data from a socket every 30-60 seconds, and if there is new data, then notifies the user. Wrote a service, but after a while time (50-60 min) Android kills the process. I trying onDestroy() start again but when android kill proccess, it not enter to onDestroy(). What direction to look for? Read about WorkManager, it works with 15 minimum frequency. Thanks in advance [Service] public class DataSource : Service { public override IBinder...