I have written a code to check whenever a user installs a chrome extension from my website but I am not getting it to work. See code below:
if(chrome.app.isInstalled){
alert("installed");
}
else{
alert("not_installed");
}
Can anyone assist?