Initialization

Initialize AATKit

Use initWithConfiguration function to initialize AATKit. This operation should be run only once during the application lifecycle. You can pass JSON object as the parameter to set desired configuration. Please see the example below where AATKit is initialized with test mode using ID 74:

AATKitCordova.initWithConfiguration({
    "testModeAccountId": 74
});

Adding optional networks

Optional networks are disabled by default. If you want to include them to the build, follow instructions below.

Android

  1. Find plugins/aatkit-cordova-plugin/src/android/aatkit-cordova-plugin.gradle file.

  2. Comment out network dependencies which should be indluced to the build.

Last updated