Google Chrome : Check if particular app is installed on the system or not

1.7k views Asked by At

I'm working on a Quick Meeting type app. Where I want to check whether my app is installed on the system or not.

My Application installer copies the plugin to "Internet Plugins" folder on Mac OSX and ".mozila/plugins" on Linux.

I'm using this web plugin(NPAPI) to detect whether a application is installed on the system or not.

As we know, web plugins can access using navigator.plugins.

If plugin is found in plugins array then we were deciding to launch the application using custom url handler implemented by installed app, otherwise download the installer and ask user to install the app first.

This works fine with Firefox and Safari but not with Google Chrome. Also Chromium doesn't support NPAPI plugins and Google Chrome is dropping support for it.

I thought of using Pepper Plugin, but it doesn't have any api to check installed apps nor to access local files say in users home dir.

Any idea how to do it. Any pointer on this would be helpful.

1

There are 1 answers

3
smorgan On

Since you are registering a custom protocol already, this boils down to detecting the presence of a protocol handler.