I have Chrome extension published on Chrome web store.
Now I want to implement Inline installation from page on my website.
I was following thischrome tutorial.
So I added my website as verified site for my Chrome extension and inline installation is working fine.
The issue which I have is how to check does user already have my extension installed.
I want to first check does user have extension installed and if so don't show installation button and otherwise to show it.
In chrome tutorial for inline installation there is explanation how to check is extension already installed by checking chrome.app.isInstalled
But this is always returning false, even if extension is installed.
I cannot find any detail explanation of using this property. I am wondering how it even conclude which extension I am checking? Does it conclude from chrome <link>
in head
:
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/itemID">
Any help, how properly to check does user have my extension installed or not?