github intercom/intercom-android 4.1.0

latest releases: 15.11.1, 15.11.0, 15.10.3...
7 years ago
  • Fix StrictMode warnings in Android Oreo
  • Deprecated Intercom.client().reset() in favour of Intercom.client().logout()
  • Intercom now runs a ContentProvider which automatically calls registerForLaterInitialisation(). This means Intercom no longer requires you to make a custom Application class. Intercom.initialize can now be called from your Activity if you would prefer.

Experimental API

  • Added an experimental API. To use it please import io.intercom.android.sdk.experimental.Intercom. The changes to the new API are:
    • Replaced Intercom.initialize(Application, String, String) with Intercom.boot(Application, IntercomSettings) Unlike initialize, boot does not need to be called in a custom Application class. It also results in the creation/ logging in of a user.
    • The methods registerUnidentifiedUser() and registerIdentifiedUser(Registration) are removed. Calling boot now registers a user. The IntercomSettings object has an optional email and userId. If either of those was provided an identified user is registered, otherwise an unidentified user is created.
    • To migrate from an unidentified to an identified user you can simply call updateUser(UserAttributes) where the UserAttributes object contains an userId and/or email.
    • The method logout() has been replaced with shutdown().

We would appreciate any feedback regarding the experimental API. You can contact us using the Intercom Messenger

Don't miss a new intercom-android release

NewReleases is sending notifications on new releases.