Skip to content

@zihejia zihejia released this Sep 24, 2020 · 1 commit to master since this release

  • fix crash MixpanelNotificationRouteActivity.handleRouteIntent
    #707

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

Assets 2

@patedit patedit released this Jun 29, 2020 · 8 commits to master since this release

Fixes

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

@patedit patedit released this Apr 21, 2020 · 12 commits to master since this release

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" /
Assets 2

@patedit patedit released this Mar 26, 2020 · 19 commits to master since this release

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)
Assets 2

@patedit patedit released this Mar 10, 2020 · 28 commits to master since this release

Fixes

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

@patedit patedit released this Mar 5, 2020 · 36 commits to master since this release

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.
Assets 2

@patedit patedit released this Feb 13, 2020 · 44 commits to master since this release

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.

Assets 2

@patedit patedit released this Feb 13, 2020 · 45 commits to master since this release

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...

Assets 2

@imcleary imcleary released this Nov 28, 2019 · 138 commits to master since this release

Fixes

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

@patedit patedit released this Nov 23, 2019 · 142 commits to master since this release

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)
Assets 2
You can’t perform that action at this time.