Here is how you can quickly migrate the events from Branch to Apxor for setting up campaign triggers when there is no seperate analytics class that sends the events from a single place.

  1. Add the following dependency to your application build.gradle file and click on Sync Now button.

    Path: <project>/app/build.gradle
        // Event tracking and a must have dependency for other plugins
        implementation ''
        // ..
  2. Find and replace all of the selected SDK event logging APIs with Apxor provided function

    Replace this

    new BranchEvent("Login").logEvent(context);

    with this

    new BranchEventWrapper("Login").logEvent(context);

Last updated