Releases: intercom/intercom-android
Releases · intercom/intercom-android
4.1.5
4.1.4
- Fix OOM error https://github.com/intercom/intercom-android/issues/422
- Updated Gson to 2.8.2
4.1.3
- Fixed an issue with the keyboard not closing on toolbar back pressed https://github.com/intercom/intercom-android/issues/435
- Fixed a RuntimeException with UploadEvent https://github.com/intercom/intercom-android/issues/439
- Fixed a NullPointerException in the PushPayload https://github.com/intercom/intercom-android/issues/442
Experimental API
- The
boot()
method now takes a user hash in theIntercomSettings
object. You can still update the user hash by callingsetUserHash
but if you have Identity Verification enabled and you are booting with an email and/or user ID then it is required to provide a user hash at that time.
4.1.2
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()