New! Check out Ionic Native. It's like ngCordova but for ES6 and TypeScript.

$cordovaAppAvailability

The AppAvailability plugin allows you to check if an app is installed on the user’s device. It requires an URI Scheme (e.g. twitter://) on iOS or a Package Name (e.g com.twitter.android) on Android.

cordova plugin add https://github.com/ohh2ahh/AppAvailability.git

Methods

check(method)
Param Type Detail
method String URI scheme to test as described below

Schemes

An extensive list of iOS schemes can be found at this link.

iOS Schemes Android Scheme
twitter:// com.twitter.android
fb:// com.facebook.katana
whatsapp:// com.whatsapp

Example

module.controller('AppAvailCtrl', function($cordovaAppAvailability) {

  document.addEventListener("deviceready", function () {

    $cordovaAppAvailability.check('twitter://')
      .then(function() {
        // is available
      }, function () {
        // not available
      });
  }, false);
});