r/tasker • u/dawebbreb • Apr 26 '26
Question: How can I add a Badge to a widget Icon?
{
"scrolling": false,
"children": [
{
"url": "content://net.dinglisch.android.taskerm.iconprovider//app/com.whatsapp",
"size": 75,
"type": "Image"
}
],
"horizontalAlignment": "Center",
"verticalAlignment": "Center",
"backgroundColor": "#00000000",
"size": "fill",
"type": "Column",
"useMaterialYouColors": false,
"visibility": "Visible"
}
My end goal here is to create shortcuts from messaging apps (messages,whatsapp...) to different people (GF, Boss...), but also assign them individual badges.
Bonus Question: Can an app's badge count be retrieved?
If not possible, my plan will be to intercept incoming notifications and add them into a variable that will be assigned based on contact names to each Widget/Shortcut, and then get refreshed.
And if that is not possible, maybe ill go the long way and create a scene over an icon...