Wiki
Clone wikiREACT native plugin / initWithConfigurationAndCallback
Overview
Initializes the AATKit library and triggers the passed callback. Should be called once during application initialization before any other calls to AATKit.
Syntax
initWithConfigurationAndCallback(initConfig, callback)
initConfig (required)
The JSON object containing configuration. Set parameters listed here, otherwise AATKit uses default values.
callback(required)
Callback<Boolean>. Triggered when function completion is done. Passes the boolean value to inform whether AATKit is initialized.
Examples
#!javascript RNAatkit.initWithConfigurationAndCallback( { testModeAccountID: 136 }, (initialized) => { console.log("AATKit initialized: " + initialized); }); );
Updated