Skip to content

Releases: mixpanel/mixpanel-android

v5.8.5 - Bug fixes for notifications

24 Sep 18:31
Compare
Choose a tag to compare
  • fix crash MixpanelNotificationRouteActivity.handleRouteIntent
    #707

  • fix the crash for android 5.x if the rich notifiction with a button
    #706

Fix SecurityException crash

29 Jun 18:32
Compare
Choose a tag to compare

Fixes

  • Fix SecurityException crash on InstallReferrerPlay class. More info: #700

v5.8.3

21 Apr 09:15
Compare
Choose a tag to compare

Fixes

  • Remove unused intent filter from activity
  • Fix routing activity bug that made a push action to be repeated when the app was open again

Features

  • Add option to disable automatic flushing when the app goes into the background. Add the following to you <application> tag on your AndroidManifest.xml if you don't want the SDK to automatically flush its queues when the app goes into the background:
<meta-data android:name="com.mixpanel.android.MPConfig.FlushOnBackground"
               android:value="false" /

Several bug fixes

26 Mar 05:13
Compare
Choose a tag to compare

Fixes

  • Added $radio property (iOS parity) as a super property. You'll need to request permission for READ_PHONE_STATE if you want to have access to that property.
  • Ensure web links are always open in a browser
  • Fixed tracking Message Received under certain cases.
  • Added compatibility with installreferrer 1.0 (IllegalArgumentException was thrown - fixes #678)

Fix exception google play referrer

10 Mar 23:18
Compare
Choose a tag to compare

Fixes

  • Catch all exceptions when reading referrer details from Google Play to avoid potential crash

Deprecate InstallReferrerReceiver in favor of Google Play install referrer

05 Mar 05:38
Compare
Choose a tag to compare

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.

Push notification improvements

13 Feb 21:06
Compare
Choose a tag to compare

Features

  • Additional support for rich push notifications: you can now include images, buttons, and more
  • You can now track when a push notification was dismissed. Replacing existing events (backwards compatible) and adding new ones: $push_notification_received, $push_notification_tap, $push_notification_dismissed for notifications sent from Mixpanel.
  • Add geolocation flag to people updates (#656)

Fixes

  • Always union an existing device token. Useful if the device token was removed previously but still valid.

PS Re: Just kidding. I'm still here.

v5.6.9

13 Feb 07:11
Compare
Choose a tag to compare

This is effectively the same version as v5.7.0, just with improper versioning..
Please, stay on 5.6.8 or upgrade to 5.7.0 to take advantage of our advanced rich push notifications.

PS Also, we are hiring engineers that've heard of semver. We had to let one go...

Bug fixes

28 Nov 00:30
Compare
Choose a tag to compare

Fixes

  • Added back MixpanelAPI.getInstance(this, MY_TOKEN, optOutStatusDefaultFlag)
  • Check if the tweak name is null to avoid potential crash when declaring it.

Release v5.6.7

23 Nov 02:03
Compare
Choose a tag to compare

Fixes

  • Crash when formatting timezones due to OEM bug #567
  • Fix ArrayOutOfBoundsException due to OEM bug #241
  • Use current loop handler when waiting for UA integration
  • Better FCM initialization to avoid warnings (#624) and fix crash when using other FCM providers #608

New features

  • Added $ae_total_app_sessions and $ae_total_app_session_length. Parity with iOS (thanks @ivansap!)
  • Allow passing super properties when initializing the library. Addresses #597. Usage:
MixpanelAPI.getInstance(this, MY_TOKEN, superPropertiesJsonObject)