Releases: crisp-im/crisp-sdk-android
Releases · crisp-im/crisp-sdk-android
v2.0.9
Features
- Session data: added key validation, keys much conforms to the following pattern:
^[A-Za-z0-9_\\-]{1,50}$
, - Session segments: added quotes (
"
and'
) trimming, - #199 - Operator compose: added a 3mn TTL.
Fixes
v2.0.8
Features
- Notifications:
- added optional
BackStack
and automatic chatbox opening (default behavior on notification tap: launches the main entry pointActivity
and opens chatbox automatically), see doc for more infos, - added
CrispNotificationClient.openChatbox(Context, Intent)
helper method which opens the chatbox with the correct session on a notification tap, returningtrue
if it succeeds,false
otherwise (not a Crisp notification tap or session does not exist in cache), see doc for more infos, - removed the
CrispNotificationService.handleIntent(Intent)
override which is no longer needed, - added notification token unregistration on
Crisp.resetChatSession(Context)
.
- added optional
API changes
- Added/updated
Crisp.configure
methods:Crisp.configure(Context, String)
: does not longer resets thetokenID
while setting thewebsiteID
,Crisp.configure(Context, String, boolean)
: gives the option to reset thetokenID
while setting thewebsiteID
,Crisp.configure(Context, String, String)
: (re)sets thetokenID
while setting thewebsiteID
.
v2.0.7
Features
- #172: added Notifications
Dependencies
- Downgraded
AGP
from8.6.0
to8.3.1
, - Downgraded
Gradle
from8.7
to8.5
, - Added Google Services Plugin (
com.google.gms.google-services
)4.4.2
, - Added Firebase BOM (
com.google.firebase:firebase-bom
)33.6.0
and Messaging (com.google.firebase:firebase-messaging
).
v2.0.5
v2.0.4
Features
- #169: added events callback for
session:loaded
,chat:opened
,chat:closed
,message:sent
,message:received
(see documentation), - #160: added show a message as operator in local chatbox, equivalent to
message:show
in Web Chat SDK (see documentation).
/!\ Public APIs which were previously under im.crisp.client
package are now under im.crisp.client.external
one!
v2.0.3beta4: Merge pull request #190 from crisp-im/beta
v2.0.2beta3
Features
- Audio player : added playback speed,
- Session data/segments events: added a debounce to merge and delay events by 6s to avoid rate limit.
Fixes
- List fading edges : fix wrong color applied,
- Helpdesk articles list : fix padding,
- TextArea : fixed randomly not cleared after the 1st message is sent,
- #179: fixed crash about Drawable.isProjected() NPE,
- #180: fixed crash about message sent by a plugin,
- #184: fixed crash,
- #175: tried to fix crash, seems to be due to Glide image loading if chatbox is closed instantly after being opened.
Dependencies
- updated
gradle
from8.4
to8.7
, - updated
AGP
from8.3.2
to8.5.0
, - updated
SdkExtension
from11
to12
, - updated
androidx.test.ext:junit
from1.1.5
to1.2.1
, - updated
androidx.test.espresso:espresso-core
from3.5.1
to3.6.1
, - updated
androidx.appcompat:appcompat
from1.6.1
to1.7.0
, - updated
androidx.media3:media3-exoplayer
from1.2.1
to1.3.1
, - updated
com.google.android.material:material
from1.11.0
to1.12.0
.
v2.0.1beta2
Features
- added video game suggestion,
- added new messages alerts,
- sync compose, text area, operator, scroll and wait for reply and new messages alerts.
Fixes
- added missing markwon proguard rules,
- fixed #173 crash by asking permission on photo taking when embedding app declares using
CAMERA
permission. If user denied it, next taps on this feature will show a dialog redirecting him to the app permission setting, - fixed attachment & loading dialogs color in Dark mode,
- fixed
SecurityException
crashes on link touch due tofile://
schemes or 3rd-party installed app set to open any link but not exporting their Activity... So added aUnable to open link. Check if an app, except you browser, is configured to open any link.
toast when touched link cannot be opened, - fixed a markdown parsing crash when it is too complex (huge regex or obfuscated code) by simply not applying markdown on this case,
- fixed smileys horizontal alignment and ripple color on touch,
- fixed picker choice icon alpha when disabled,
- fixed a random audio player crash when released.
Dependencies
- updated
AGP
from8.2.2
to8.3.2
.
Installation update
If your app declares a FileProvider
in its AndroidManifest.xml
, please add Crisp authority and path to it as follows as it is required for the file upload feature.
AndroidManifest.xml
<provider android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider;${applicationId}.im.crisp.client.uploadfileprovider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
tools:replace="android:resource" />
</provider>
res/xml/file_paths.xml
<files-path name="crisp_sdk_attachments" path="im.crisp.client/attachments/" />
v2.0.0beta1
Features
- updated UI to match Web & iOS chatboxes,
- #100: added Take photo support,
- #136: added Customization plugin support,
- #149: added Helpdesk public APIs:
searchHelpdesk
: opens helpdesk search, right away if theChatActivity
is running, on its next start otherwise,openHelpdeskArticle
: views helpdesk article, right away if theChatActivity
is running, on its next start otherwise.
- #167: added
carousel
messagetype
support, - added chatbox behaviors:
- Operator privacy mode,
- MagicType,
- Helpdesk link & Helpdesk-only mode.
- added Request feedback,
- added
action
support forpicker
message type, - added
required
support forfield
&picker
message types, - added De-branding plugin support,
- added hardware keyboard support (
SHIFT+ENTER
inserts a line break,ENTER
only sends the message), - updated localization.
Fixes
- #63: using
flexbox
now forpicker
message type, should fix choices list cutted, - #128: using
glide
now for media loading, should fix NPE on GIF parsing, - #166: synced
user
messages sent outside of the Android chatbox, - fixed possibility to send empty messages/field value & trim sent ones,
- fixed
read
status message duplicates, - fixed various not yet reported bugs & crashes.
Dependencies
- added:
com.google.android.flexbox:flexbox:3.0.0
for Smileys/GIFs lists &picker
messagetype
,com.facebook.shimmer:shimmer:0.5.0
for skeleton loading,com.github.bumptech.glide:glide:4.16.0
&com.github.bumptech.glide:okhttp3-integration:4.11.0
for image loading,io.noties.markwon:core:4.6.2
,io.noties.markwon:image:4.6.2
,io.noties.markwon:linkify:4.6.2
,io.noties.markwon:ext-tables:4.6.2
&pl.droidsonroids.gif:android-gif-drawable:1.2.28
for Markdown support,
- updated:
AGP
from7.4.2
to8.2.2
,com.google.android.material:material
from1.10.0
to1.11.0
,androidx.media3:media3-exoplayer
from1.1.1
to1.2.1
.