Class: GDInterAppCommunication

GDInterAppCommunication()

The GDInterAppCommunication is used to return information about a service provider application.

Constructor

new GDInterAppCommunication()

Deprecated:
  • since version 10.1. It will be removed in future versions. Use appropriate functionality from AppKinetics plugin instead.
Source:

Methods

getGDAppDetails(id, version, onSuccess, onError)

This method check for apps installed on device
Parameters:
Name Type Description
id string Service ID.
version string Service version
onSuccess function Callback function to invoke when the function returns successfully.
onError function Callback function to invoke for error conditions.
Deprecated:
  • It will be removed in future versions. Use getServiceProvidersFor function from AppKinetics plugin instead
Source:
Example
function success(result) {
    alert("Recieved details: " + result);
};

function fail(result) {
    alert("An error occurred while recieving the application details: " + result);
};


function getGDAppDetails(){
   window.plugins.GDInterAppCommunication.getGDAppDetails("", "", success, fail);
};