Mixpanel Android Versions Save

Official Android Tracking Library for Mixpanel Analytics

v7.2.1

1 year ago

v7.2.1 (2022-11-16)

Fixes

  • Fix ANRs issue when opt in and remove residual image files left from the legacy SDK versions #807

v7.2.0

1 year ago

v7.2.0 (2022-10-20)

Enhancements

  • Add the ability to remove residual image files left from the legacy SDK versions #804 To opt in, add this to AndroidManifest.xml.
<meta-data android:name="com.mixpanel.android.MPConfig.RemoveLegacyResidualFiles"
            android:value="true" />
  • Remove Mixpanel DevX internal tracking #802
  • Upgrade SDK version to 31 #801

v7.0.1

1 year ago

v7.0.1 (2022-09-08)

Fixes

  • Fix the event being dropped if its properties contain custom class object #798

v7.0.0

1 year ago

v7.0.0 (2022-08-16)

BREAKING CHANGE:

This major release removes all remaining calls to Mixpanel's /decide API endpoint. The main effect of this is that the SDK no longer fetches the remote status of your project's "Automatically collect common mobile events" setting. From this version forward, automatic event tracking can only be controlled by the, now required, parameter trackAutomaticEvents. Upon upgrading, existing implementations will need to add this parameter to their Mixpanel initializer calls.

Enhancements

  • Add 'trackAutomaticEvents' as a required param in getInstance' and remove Mixpanel server api call for Autotrack setting #794

v6.5.2

1 year ago

v6.5.2 (2022-08-05)

Fixes

  • Fix the crash in DevX tracking in debugging mode #797

v6.5.1

1 year ago

v6.5.1 (2022-07-26)

  • Add the following new configs for you to optimize the Mixpanel tracking (#795):
     * Set maximum number of events/updates to send in a single network request
     *
     * @param flushBatchSize  int, the number of events to be flushed at a time, defaults to 50
     */
    public void setFlushBatchSize(int flushBatchSize);

    /**
     * Set an integer number of bytes, the maximum size limit to the Mixpanel database.
     *
     * @param maximumDatabaseLimit an integer number of bytes, the maximum size limit to the Mixpanel database.
     */
    public void setMaximumDatabaseLimit(int maximumDatabaseLimit);

You can also set them in AndroidManifest.xml, i.e.

        <meta-data android:name="com.mixpanel.android.MPConfig.FlushBatchSize"
            android:value="5" />

        <meta-data android:name="com.mixpanel.android.MPConfig.MaximumDatabaseLimit"
            android:value="100000000" />

v6.4.0

1 year ago

v6.4.0 (2022-06-30)

Enhancements

  • Support defining multiple instances by specifying instanceName in getInstance #792

This release adds the following APIs to MixpanelAPI:

/**
...
 * @param instanceName The name you want to uniquely identify the Mixpanel Instance.
   It is useful when you want more than one Mixpanel instance under the same project token.
...
**/

getInstance(Context context, String token, String instanceName) getInstance(Context context, String token, boolean optOutTrackingDefault, String instanceName) getInstance(Context context, String token, JSONObject superProperties, String instanceName) getInstance(Context context, String token, boolean optOutTrackingDefault, JSONObject superProperties, String instanceName)

Please note: If you are going to add instanceName to getInstance on your existing implementation. getInstance will start using instanceName as the instance identifier rather than token, so you might lose some of the stored properties including the distinct Id under the token. We'd recommend using it when you need to create more than one instance under the same project token. You won't lose any events and user profile updates.

v6.3.0

1 year ago

v6.3.0 (2022-06-24)

Enhancements

  • use millisecond precision for event time property #791

v6.2.2

2 years ago

v6.2.2 (2022-05-20)

Enhancements

  • remove survey #787

v6.2.1

2 years ago

v6.2.1 (2022-05-07)

Fixes

  • Fix Mixpanel DevX internal tracking #786