Releases: intercom/intercom-android
Releases · intercom/intercom-android
4.1.1
4.1.0
- 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
4.0.5
- Fix NullPointerException: https://github.com/intercom/intercom-android/issues/423
- Update Support Library to 26.1.0
- Update FCM and GCM libraries to 11.4.0
- Fix crash when host app has Glide modules in its Manifest: https://github.com/intercom/intercom-android/issues/429
- Fix Intercom notification channels appearing when not using push notifications
- Improved image loading stability
4.0.3
4.0.4
4.0.2
- Update Support Library to 26.0.1
- Fix GCM issue on Android Oreo: https://github.com/intercom/intercom-android/issues/406
- Improve logging around
displayMessageComposer()
4.0.1
3.2.10
3.2.9
- Fixed NullPointerException: https://github.com/intercom/intercom-android/issues/381
- Fixed UI issues in teammate profile: https://github.com/intercom/intercom-android/issues/378
- Fixed scrolling behaviour in conversation
- Fixed unread count being incorrect after a new conversation was started
- Fixed duplicate resources: https://github.com/intercom/intercom-android/issues/385