Post

Replies

Boosts

Views

Activity

Reply to WidgetKit widget add and delete detection
More detail for the question: For now since our widgets can’t make a call to our backend directly we rely on data stored in appgroups. We added a background task in our app that runs every 30mins and fetches data from the backend and writes it to the appgroup. Widget reads the latest data from the appgroup as it reloads the timeline.  We don’t want to run the background task if the users are not using widgets.
Sep ’20