Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Using the SDK

Martin Treacy-Schwartz edited this page Mar 15, 2017 · 4 revisions

Now we should be ready for adding code to activate the SDK!
There are 3 phases the SDK will go through.

  1. configuration
  2. initialization
  3. adding events or changing dimensions

 

Configuration calls configure settings for the SDK and some will not be able to be altered after initialize has been called.

Initialize call will start the SDK and activate the first session.

The configuration and initialization steps should be called at the beginning of the game for example inside the GameInit method.

Once step 1 & 2 is done you can add events at different parts of the game code where some relevant action is happening.

 

Remember to import the GameAnalytics package whenever you need to call the SDK.

 #include "GameAnalytics.h"

 

NEXT  →

Clone this wiki locally