Install/Update Differentiation

SDK needs support to enable the update by the user application or install the application. You need to have logic on the app side to distinguish between app INSTALL and UPDATE.

If the user was already using your application and has just updated to a new version that has MoEngage SDK, it is an update. Call the below API

c#
using MoEngage;
MoEngageClient.SetAppStatus(MoEAppStatus.UPDATE);

In case it is a fresh install call the below API

c#
using MoEngage;
MoEngageClient.SetAppStatus(MoEAppStatus.INSTALL);
Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?