appavailability-plugin
Mobile icon

AppAvailability Plugin

Stable version 1.0.2 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 04 February 2022 by 
5.0
 (3 ratings)
appavailability-plugin

AppAvailability Plugin

Details
Plugin allows you to check if an app is installed. GitHub: https://github.com/kelter-antunes/AppAvailability
Read more

Description

This 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.

  • Ready for the Command-line Interface of Cordova / PhoneGap 3.0 and later
  • Works with PhoneGap Build

Supported Platforms

  • iOS
  • Android


Important: iOS 9 and iOS 10 URL Scheme Whitelist

Apple changed the canOpenURL method on iOS 9. Apps which are checking for URL Schemes have to declare these Schemes as it is submitted to Apple. The article Quick Take on iOS 9 URL Scheme Changes expains the changes in detail.

Add URL Schemes to the Whitelist

Simply open your app's .plist (usually platforms/ios/<appname>/<appname>-Info.plist) with an editor and add the following code with your needed Schemes.

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>twitter</string>
    <string>whatsapp</string>
</array>


Note: 

To edit the your app's .plist file you should use the Edit Plist File Plugin.


Like my components? Buy me a beer :) and support my work.

Release notes (1.0.2)
  • Added Version Info when scheme is available (only supported on Android)
  • Added Demo App
  • Updated Plugin icons
  • Plugin tied to fixed git version (OS11_1.0.2)
  • Support for MABS 8.0 (only tested on Android)
Reviews (1)
2022-02-07
in version 1.0.2
Works great, and author provided incredibly fast support after I ran into an issue!