I am looking for solution to get data in background mode even app is terminated. There are lots of tutorials and answers available for this questions, but my questions is differ
I have got solution to fix issue. As per I have talked,
I want to write a code which are execute in background, In this code I want to get all event data and compare their date with today's date. And based on days remaining between these days fire local notification to remind user about how many days are remaining for specific event.
So, when I getting response from API, I'm creating local notification for all events with unique id, which are fire and repeat daily at specific time, where I have display event time and remaining days of event.