Moengage
Add the following dependency to your application
build.gradle
file and click on “Sync Now” buttonPath:
/app/build.gradle dependencies { //... // Event tracking and a must have dependency for other plugins implementation 'com.apxor.android:event-logging-helper:1.5.3@aar' // .. }
Find and replace all of the selected SDK event logging APIs with Apxor provided function
Replace this
Properties properties = new Properties();
with this
PropertiesWrapper propertiesWrapper = new PropertiesWrapper();
Also replace
MoEAnalyticsHelper.INSTANCE.trackEvent(context, "Event", properties);
with this
MoEngageWrapper.trackEvent(MoEAnalyticsHelper.INSTANCE, context, "Event", propertiesWrapper);