WidgetKit widget add and delete detection

Is it possible to detect when a widget is added to home screen? (What kind and size widget.)

We would like to do some background task only if a specific widget is added to home screen. Once the widget is deleted we would also like to remove the background task.
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.
Did you ever get any response on this? In our app, also we want to detect add/remove widgets..
WidgetKit widget add and delete detection
 
 
Q