Mixpanel v5.8.0 Release Notes

Release Date: 2020-03-05 // about 4 years ago
  • ๐Ÿ†• New features

    • ๐Ÿšš Referrer details are now fetched from Google Play since INSTALL_REFERRER message is no longer supported by Google. If you have the following lines, please remove them from your AndroidManifest.xml:

    ๐Ÿšš Remove:

    <receiver
      android:name="com.mixpanel.android.mpmetrics.InstallReferrerReceiver"
      android:exported="true">
      <intent-filter>
        <action android:name="com.android.vending.INSTALL_REFERRER" />
      </intent-filter>
    </receiver>
    

    โšก๏ธ You now need to use a new Google dependency to be able to track your referrer details. Update your build.gradle file and add the following dependency:

    Add:

    dependencies {
            implementation 'com.android.installreferrer:installreferrer:1.1'
            ...
    }
    

    As before, Mixpanel referrer track will inspect the referrer and not only set a new property referrer but will also look for the following keys and set them as event properties separately (if available): utm_source, utm_medium, utm_term, utm_content and utm_campaign.

    ๐Ÿ›  Fixes

    • ConcurrentModificationException using super properties (#658)
    • Track session lengths as a numbers and not strings.
    • In-app notification NullPointerException.
    • โช Capture exception when writing on SQLite and restore state.
    • Do not allow null values as distinct_id.