You need to initialize the adjoe SDK before you can use any of its features. To do this, call window.AdjoePlugin.initinitialize(String, Object, function, function)
when your app is starting. The initialization will run asynchronously in the background and notify you when it is finished by invoking one of the callback methods. After one successful initialization all following calls to window.AdjoePlugin.initialize
will immediately invoke the success callback until your app is removed from the heap.
The SDK initialization should be started as soon as possible after the app starts to make sure that all adjoe features are available when you want to use them.