Avatar

Correct answer by
Employee

Hi sriharshay7433278,

The equivalent functions would be trackState and trackAction methods.

With 4.x you can no longer assign variables such as events, eVars, props, heirs and lists directly.  The SDK uses context data and processing rule to may your app data to Analytics variables for reporting.

Here are couple of documentation links referencing the above and further information.

Migrating to the 4.x iOS Library

Track App States

Track App Actions

Migrating to the Android 4.x Library

Track App States

Track App Actions

View solution in original post