I am looking for solution to get data in background mode, even if the app is closed.
There are many training programs and answers available to these questions, but my questions are different from others. I have not found any correct solution for stack overflow, so posted this question.
I have a scenario that I can explain. I use realm database that stores event date, name, time, address etc. Now the thing is, I want to write a code that is done in the background. In this code I will get all event data and compare their dates with today's date. And, based on days remaining between those days, fire local notice to remind the user of how many days remain for a particular event.
I will call this background retrieve the method exactly at 8 am in local time every day.
I have not written any code due to confused background retrieval and implementation. Can anyone know how to implement this?
Help will be appreciated.