Skip to main content
Version: SDK 5.0.x

Function setAutomaticInAppPurchaseTracking

setAutomaticInAppPurchaseTracking(  
    automaticInAppPurchaseTracking: boolean,
): Promise<void>

The justtrack SDK can automatically track in-app product and subscription purchases and forward them to the justtrack backend. It is enabled by default, but this method allows you to configure the automation for your needs.

Parameters

NameTypeDescription
automaticInAppPurchaseTrackingbooleanSet this to true to automatically forward in-app product and subscription purchases.

Returns

 Promise<void>