Checking for Target App on Device

The SDK allows you to determine whether a target app is installed on a device. The Host App can use this information to prevent recommending target apps that the user has already installed.

To get the installation status of a target app on a device, call the getApplicationDetails() method.

spinner
SEQUENCE ITEM
DESCRIPTION

1

Initialization and Authentication The Host App initializes the DTIS SDK and connects to Ignite. This action establishes a secure connection between the two components and authenticates the Host App with Ignite. For more information, see Connect to Ignite.

2

Get Installation Status The Host App calls the getApplicationDetails() method to retrieve the installation status of the target app on the device. The call contains the name of the target app you want to check as well as the option to receive results as a callback or broadcast.

3-4

Installation Status Notification Ignite sends a callback and/or broadcast containing the installation status.

5

Disconnect from Ignite Disconnect from Ignite Services. For more information, see Disconnect from Ignite.

Last updated