Releases: mParticle/mparticle-android-sdk
Version 4.6.2
Button Integration
This release introduces a new kit (com.mparticle:android-kit-button
) providing support for Button. Button is a leading mobile platform powering contextual commerce, making it easier for app developers to monetize by helping users discover their next action. Thanks to the Button team for writing the kit!
Version 4.6.0
User Attribute Lists
This release introduces several new APIs to set and retrieve user attributes, including user attributes with list-values.
MParticle mp = MParticle.getInstance();
//this API will accept any Object and coerce the value into String with toString() or a List<String>
mp.setUserAttribute("hair color", "brown");
List<String> attributeList = new ArrayList<>();
attributeList.add("indian");
attributeList.add("italian");
mp.setUserAttributeList("favorite foods", attributeList);
//if called on the main thread, this method is asynchronous while querying the database
mp.getAllUserAttributes(new UserAttributeListener() {
@Override
public void onUserAttributesReceived(Map<String, String> userAttributes, Map<String, List<String>> userAttributeLists) {
}
});
//the following methods will all *synchronously* query the database
//Get any non-list attributes
Map<String, String> regularAttributes = mp.getUserAttributes();
//Get all attributes: Object could be a String or a List<String>
Map<String, Object> allAttributes = mp.getAllUserAttributes();
//Get list attributes
Map<String, List<String>> listAttributes = mp.getUserAttributeLists();
Localytics 4.0.0
This release also updates to the latest Localytics SDK - version 4.0.0.
Version 4.5.4
Branch Metrics Update
This release includes the latest Branch Metrics Kit with Branch SDK 1.13.0
, which supports disabling of Android ID collection. The Kit will map mParticle's MParticle.setAndroidIdDisabled(true);
API onto Branch's respective API automatically.
Comscore Update
The Comscore Kit has been updated to their latest SDK: 3.1508.28-v2
.
Push Messaging API
This release also incorporates this PR: #8
Version 4.5.2
Instance ID
The SDK now uses the new Instance ID APIs to register for push. This has no effect on how you setup push with mParticle, but should bring more reliable push registration and delivery.
Kit Framework v2
This release updates the layer in between the mParticle SDK and 3rd-party kits/SDKs with many enhancements:
- The Kit framework has been separated out into a separate binary. If you're only using the core SDK, the JAR has been reduced down to 185kB.
- The SDK now queues events and deep-link requests, avoiding the need to use the kit availability APIs for events and deep link requests that are logged immediately on start-up
- Entirely new APIs for kit developers
Apteligent Re-branding
Crittercism has rebranded as Apteligent, which the maven artifact (com.mparticle:android-kit-apteligent
) has been updated to reflect.
Kit Version Updates
- Branch Metrics has been updated to 1.11.3
- Apteligent has been updated to 5.5.5
- AppsFlyer has been updated to 4.3.7
- Adjust has been updated to 4.7.0
Version 4.4.7
This release introduces a new API allowing you to disable collection of Android ID. This API must be called on every app launch, prior to calling MParticle.start()
, for example:
package com.example.myapp;
import android.app.Application;
import com.mparticle.MParticle;
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
MParticle.setAndroidIdDisabled(true);
MParticle.start(this);
}
}
Version 4.4.6
This is a minor release to lower memory usage on app startup.
Version 4.4.5
Support for Apptentive
This releases adds Apptentive support by way of a new kit: com.mparticle:android-apptentive-kit
. Apptentive allows you to intelligently engage with and collect crucial feedback from your customers.
Version 4.4.4
This is a minor release:
- User attribute values may now be up to 4096 characters in length
- Updated Proguard rules to prevent dex warnings during compilation
Version 4.4.3
This version updates the AppsFlyer Kit to use the latest AppsFlyer SDK v4.3.5.
Version 4.4.2
Support for AppsFlyer
This release adds AppsFlyer support by way of a new kit: com.mparticle:android-appsflyer-kit
. The integration will take care of transmitting app installs and post-install events, and allows easy implementation of deferred deep-links via the AppsFlyer platform.