initWithConfiguration

Overview

Initializes the AATKit library. Should be called once during application initialization before any other calls to AATKit.

Syntax

initWithConfiguration(configuration)

configuration (REQUIRED)

The JSON object containing configuration. Set parameters listed here, otherwise AATKit uses default values.

Examples

AATKitCordova.initWithConfiguration({
    "testModeAccountId": 74,
    "useGeoLocation": false,
    "consentRequired": true,
    "consent": {
        "type": "managedConsent"
    }
});

Last updated