i'm in the painful process of migrating my extension from manifest v2 to v3, and among the many issues i have to solve actually i can't find a solution to this one.
Basically in my manifest v2 had a background page with the following line of code:
chrome.pageAction.show(tabId);
But now in manifest v3 pageAction and browserAction are no longer available, and the .show() method in the new .action object is not available. When i try to load the extension i get the following error:
in event handler: TypeError: chrome.action.show is not a function
at chrome-extension://ilffkamoglijakcakajaackcckakgddi/src/background.js:31:25
background.js:26
I tried to look around in the v3 docuentation, but i failed to find a solution to my problem, how am i supposed to replace the .show() method?