Install/Update 7.x.x

During integration if your app is already on the App Store, MoEngage would need to know whether your app update would be an actual UPDATE or an INSTALL.

Have logic in place to differentiate Install and Update and make use of the setAppStatus() method to track the same as described:

JavaScript
import ReactMoE, {
  MoEAppStatus,
} from "react-native-moengage";
 
//For Fresh Install of App
ReactMoE.setAppStatus(MoEAppStatus.Install);

 // For Existing user who has updated the app
ReactMoE.setAppStatus(MoEAppStatus.Update);
Was this article helpful?
0 out of 0 found this helpful