Does WidgetCenter.getCurrentConfigurations(_:) return WidgetInfo when users don't install widgets explicty?

My app provides a widget. It has three sizes (small, medium and large).

I use WidgetCenter.getCurrentConfigurations(:) in the containing app to collect how many users use them.

The collected values of small and large look correct, but medium looks extremely huge...

I suspect WidgetCenter.getCurrentConfigurations(
:) returns medium's WidgetInfo when users don't install widgets explicty.

Is there such a case?
Hello!

Can you clarify how the medium widget was added to Home Screen or Today's View? Or possibly, not even installed at all? Thanks.
Hi. Thank you for the reply.

I want to know how many users use my app's widget.
So my app sends if the widget was added or not using this methid.
Code Block
WidgetCenter.getCurrentConfigurations(:)


As far as I know, it returns WidgetInfo only when my users add the widget explicitly.

According to the aggregated log on my server, the medium widget was added extremely more than large and small widgets (100x).
It's an abnormal value and I guess the medium widget was added implicitly.

thanks.


It looks like the medium widget always appears in the result list of [WidgetInfo] when WidgetCenter.getCurrentConfigurations() is called, even when the widget has not been added to the homescreen.
Does WidgetCenter.getCurrentConfigurations(_:) return WidgetInfo when users don't install widgets explicty?
 
 
Q