Skip to content

Releases: crisp-im/crisp-sdk-android

v2.0.9

09 Jan 17:14
28b815b
Compare
Choose a tag to compare

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

  • React Native bridge #127: fixed back navigation issue,
  • Notifications: fixed crash when Firebase is not added in the project,
  • #198 - Session data/segments debounce: fixed lost pending data/segments upon chatbox reopening if not sent before closing it.

v2.0.8

09 Dec 18:13
32b949f
Compare
Choose a tag to compare

Features

  • Notifications:
    • added optional BackStack and automatic chatbox opening (default behavior on notification tap: launches the main entry point Activity 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, returning true 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).

API changes

  • Added/updated Crisp.configure methods:
    • Crisp.configure(Context, String): does not longer resets the tokenID while setting the websiteID,
    • Crisp.configure(Context, String, boolean): gives the option to reset the tokenID while setting the websiteID,
    • Crisp.configure(Context, String, String): (re)sets the tokenID while setting the websiteID.

v2.0.7

02 Dec 11:07
91d49bf
Compare
Choose a tag to compare

Features

  • #172: added Notifications

Dependencies

  • Downgraded AGP from 8.6.0 to 8.3.1,
  • Downgraded Gradle from 8.7 to 8.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

15 Oct 08:20
ec0e8bf
Compare
Choose a tag to compare

Fixes

  • #193: fixed camera app crash on take photo feature on some devices

v2.0.4

10 Oct 16:23
616f6a3
Compare
Choose a tag to compare

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

12 Sep 08:28
434006c
Compare
Choose a tag to compare

Fixes

Dependencies

  • updated AGP from 8.5.0 to 8.6.0

v2.0.2beta3

30 Aug 20:43
ce377fd
Compare
Choose a tag to compare

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 from 8.4 to 8.7,
  • updated AGP from 8.3.2 to 8.5.0,
  • updated SdkExtension from 11 to 12,
  • updated androidx.test.ext:junit from 1.1.5 to 1.2.1,
  • updated androidx.test.espresso:espresso-core from 3.5.1 to 3.6.1,
  • updated androidx.appcompat:appcompat from 1.6.1 to 1.7.0,
  • updated androidx.media3:media3-exoplayer from 1.2.1 to 1.3.1,
  • updated com.google.android.material:material from 1.11.0 to 1.12.0.

v2.0.1beta2

31 May 13:19
0d431b7
Compare
Choose a tag to compare

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 to file:// schemes or 3rd-party installed app set to open any link but not exporting their Activity... So added a Unable 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 from 8.2.2 to 8.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

21 Feb 18:22
ed7e5a2
Compare
Choose a tag to compare

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 the ChatActivity is running, on its next start otherwise,
    • openHelpdeskArticle: views helpdesk article, right away if the ChatActivity is running, on its next start otherwise.
  • #167: added carousel message type support,
  • added chatbox behaviors:
    • Operator privacy mode,
    • MagicType,
    • Helpdesk link & Helpdesk-only mode.
  • added Request feedback,
  • added action support for picker message type,
  • added required support for field & 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 for picker 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 message type,
    • 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 from 7.4.2 to 8.2.2,
    • com.google.android.material:material from 1.10.0 to 1.11.0,
    • androidx.media3:media3-exoplayer from 1.1.1 to 1.2.1.

v1.0.18

21 Nov 10:40
abffa6a
Compare
Choose a tag to compare
  • Added Markdown support (#118)
  • Updated dependencies:
    • com.google.android.material:material from 1.9.0 to 1.10.0,
    • androidx.media3:media3-exoplayer from 1.1.0 to 1.1.1.
  • Update Android SDK from API 33 to 34.