AppAvailability Plugin

Stable Version 1.0.0 (OutSystems 10)
Published on 05 January 2018 by 
Created on 05 January 2018
Details
Plugin allows you to check if an app is installed. github: https://github.com/ohh2ahh/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.

Reviews (0)
Category
Mobile Plugins
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Miguel 'Kelter' Antunes who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform
10.0.0.402
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads