Skip to content

Releases: mixpanel/mixpanel-android

Surveys removed

03 Apr 20:39
Compare
Choose a tag to compare

We have fully removed surveys after three months of being deprecated.

Release v4.9.8

08 Mar 19:48
Compare
Choose a tag to compare

Remove BLUETOOTH permission and make it optional again.

Release 4.9.7

02 Mar 04:15
Compare
Choose a tag to compare

Fixes SurveyActivity java.lang.NoSuchMethodError #434

Release v4.9.6

24 Feb 21:42
Compare
Choose a tag to compare

Fix NoSuchMethodError for API below 23 when showing a mini in-app notification (#431)

Release v4.9.5

21 Feb 02:15
Compare
Choose a tag to compare

We now can track open push notifications (for API 14 and above). Events that will be automatically sent (like iOS):

  • $app_open will be tracked if the user taps on the push notification. campaign_id and message_id are sent as well as message_type=push.
  • $campaign_received will be tracked if the app receives a push while the app is running in the foreground. Same properties as before are sent.

Release v4.9.4

15 Feb 01:16
Compare
Choose a tag to compare

In addition to the standard dark or light message templates, you can now customize the format of your in-app messages to ensure they are on-brand:

  • Customize text, background, and button colors
  • Remove image fades
  • Select large or standard image footprints by hiding text
  • Add a secondary call-to-action button for multiple deep-linking paths

Improvements:

Release v4.9.3

21 Dec 20:44
Compare
Choose a tag to compare

We are deprecating surveys as in 4.9.3. Surveys will be completely removed from the SDK soon.

  • Crash fixes:
    • ConcurrentModificationException when using addOnMixpanelUpdatesReceivedListener.
    • ConcurrentModificationException when using Tweaks.getDefaultValues()
    • NullPointerException when destroying a survey.
  • Improvements:
    • No network attempts to visual editor if it's not connected (this will remove all the error logs you guys are seeing in debug mode).
    • New meta-tag flag: com.mixpanel.android.MPConfig.IgnoreInvisibleViewsVisualEditor. Set this boolean to true if you don't want invisible views to be sent to our visual editors (AB Test or Codeless).

Release v4.9.2

03 Sep 01:09
Compare
Choose a tag to compare
  • Crash fixes:

    • NoClassDefFoundError on some Samsung devices when using BluetoothAdapter
  • Bug Fixes:

    • Tweak-related bugs with some of our improvements (below).
  • Improvements:

    • New API: getPushRegistrationId to retrieve the device push token through a mixpanel instance.

    • Add proguard rules.

    • Ability to remove a single push token through clearPushRegistrationId(token).

    • Ability to remove a people property through remove(name, value)

    • Ability to disable the ViewCrawler (AB Test/Codeless) for specific project tokens (handy if you have multiple mixpanel instances). To use this feature:

      <meta-data android:name="com.mixpanel.android.MPConfig.DisableViewCrawlerForProjects"
          android:resource="@array/my_project_list" />
      

      And define the following on your array.xml:

      <resources>
      <string-array name="my_project_list">
      <item>project token 1</item>
      <item>project token 2</item>
      </string-array>
      </resources>
      
    • Ability to add listeners to know when tweaks are updated:

    MixpanelAPI.getInstance(context, API_TOKEN). addOnMixpanelTweakUpdatedListener(<your listener>)
    
    • Push notification enhancements: From mixpanel.com you can now use the following keys as part of a push notification payload:

    mp_icnm_l Large icon to be used on a push notification.
    mp_icnm_w White icon to be used on Lollipop and above.
    mp_color Color to be used on Lollipop and above (#argb).
    Example of a payload:

    {"mp_icnm":"an_icon", "mp_icnm_l":"big_icon", "mp_icnm_w":"white_icon","mp_color":"#FFAA0000"}
    
    • Time events are persisted across user sessions.
    • Upgrade GCM and avoid using deprecated GCM APIs. Your Google Play Services library must be 7.5.0 or above

Release v4.9.0

02 Jul 00:28
Compare
Choose a tag to compare
  • Crash fixes:
    • Activity life cycle callbacks in old Android APIs.
    • OutOfMemoryError for in-app and ab test.
    • NullPointerException when accessing people profiles after resetting a Mixpanel instance.
  • Bug Fixes:
    • Resize survey texts to fit any screen.
    • AB Test working in emulators running new Android APIs.
    • Proper data resetting after calling reset().
  • Improvements:
    • Hide next/previous arrows on surveys when there are no next/previous questions.
    • Added an LRU Cache to re-use & quickly access images.

Release v4.8.7

12 May 02:16
Compare
Choose a tag to compare
  • Bug fixes:
    • Get real available memory to avoid displaying small images when there's enough space.
    • In-app notifications: improved layout for certain devices (no overlap with text and correct image alignment).