- Revised error reporting in the
ChatWindowEventsListener.onError
callback and conditions for displaying the error view. - JavaScript errors are now ignored.
Breaking Changes
ChatWindowErrorType.Console
removed.
- Report http errors in the ChatWindowEventsListener.onError method
- Updated gson to
2.11.0
fixing issues when minification enabled
Breaking Changes
ChatWindowConfiguration
and it'sBuilder
custom parameters name change -customVariables
tocustomParameters
Breaking Changes
- Minimum Android SDK version is now 21
ChatWindowUtils.clearSession()
- Context param removedChatWindnowView.reload()
- Bool param removed
Migrate to AndroidX for managing Fragments Allow for sending multiple files at once on Android 21+
Breaking Changes
Initialization
- removed
setConfiguration
method fromChatWindowView
- changed
initialize
toinit
and added requiredChatWindowConfiguration
parameter
Move away from deprecated startActivityForResult
to registerForActivityResult
to start file picker Activity and handle its result.
Removed:
onStartFilePickerActivity
callback fromChatWindowEventsListener
onActivityResult
method fromChatWindowView
Added:
supportFileSharing
inChatWindowView
onFilePickerActivityNotFound
inChatWindowEventsListener
See "Sharing files" section in the docs for more details.
Remove obsolete WebView popup from layout and prevent unnecessary view inflation
Code refactor - remove unused code, introduce MVP pattern, cleanups
Simplify reloading - always reload url. This fixes error view not disappearing when chat is reloaded - #34
Upgrade Android Gradle Plugin to 7.4.2
Targeting Android 13 (API 33)
Add possibility to use SnapCall
Small redesign for better readability Allows for easier chat configuration change #64
Handling keyboard overlapping chat input field in full screen activities Update android compile and target sdk version to 30
Fix NoClassFound error
Provide convenience method for clearing chat session
Migrate to androidx support libraries, update gradle, build tools and dependencies
Handle case where chat window configuration failed
- Expose reload and isChatLoaded methods
- Handle case where chat window configuration failed
Get rid of problematic AsyncTask for obtaining configuration and use volley for that. This should result in quicker and more reliable initial widget configuration.
- Get rid of problematic AsyncTask
- Use volley and leverage caching
- Unify handling errors from initial configuration
- Introduce new error type -
InitialConfiguration
Breaking Change Patch release improving error handling and fixing bad url check that caused NPE. Breaking change comes from adding possibility to handle error. If you don't want to use that, just override onError method and return false
- Fixed NullPointerException crash when tapping on email link
- Added onError method to give more control to users of this library
- Decreased minimum android sdk to 15
- Expose configuration builder setters