Querying Active Widgets
On Android, you can detect every active instance of your widgets currently placed on the Home Screen. This is particularly useful for Android since each widget instance can have different dimensions and a unique widgetId.
getActiveWidgets API
The getActiveWidgets function returns a promise that resolves to an array of all active widget instances for your app.
WidgetInfo Object
Each object in the returned array contains:
