Release v4.8.0
-
New features:
- Let user disable any
decide
API (i.e. no surveys, no notifications and no AB testing) by configuring the meta-data. Example:
<meta-data android:name="com.mixpanel.android.MPConfig.DisableDecideChecker" android:value="true" />
- Let user disable any the
ViewCrawler
by configuring the meta-data. Example:
<meta-data android:name="com.mixpanel.android.MPConfig.DisableViewCrawler" android:value="true" />
- Removed debug flush interval. If you are setting
com.mixpanel.android.MPConfig.DebugFlushInterval
on yourAndroidManifest.xml
you should remove it since it won't have any effect. - Implemented a back-off mechanism when server is busy to avoid repeated and consecutive requests.
- Let user disable any
-
Crash fixes:
- Add tracking to match iOS SDK: survey received, survey shown and correct app build number/app version.
- Wrong
ViewGroup
casting. - Displaying notifications when backgrounding the app.
- Out of memory when displaying big images in notifications.
-
Bug fixes:
- Memory leak when using
SensorManager
. - Clear user-related notifications/surveys/ab testing after setting a new
disctinctId
. - Remove
tools:ignore
properties (AllowsBackUp
andGradleOverrides
). - No AB test tracking for original variant under certain circumstances.
- RTL layouts were wrongly rendered.
- Repeated notifications/surveys when using ad blocker apps.
- Memory leak when using