Background Fetch at Specific Time

后端 未结 4 1305
时光说笑
时光说笑 2021-02-13 02:36

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

4条回答
  •  情话喂你
    2021-02-13 03:14

    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.

提交回复
热议问题