- Fix StrictMode warnings in Android Oreo
- Deprecated
Intercom.client().reset()
in favour ofIntercom.client().logout()
- Intercom now runs a
ContentProvider
which automatically callsregisterForLaterInitialisation()
. 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)
withIntercom.boot(Application, IntercomSettings)
Unlikeinitialize
,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()
andregisterIdentifiedUser(Registration)
are removed. Callingboot
now registers a user. TheIntercomSettings
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 theUserAttributes
object contains an userId and/or email. - The method
logout()
has been replaced withshutdown()
.
- Replaced
We would appreciate any feedback regarding the experimental API. You can contact us using the Intercom Messenger