15-day Pro trial · no credit cardStart free →

Resources

SDK changelog

Release notes for the STINGIM web widget, Android SDK and iOS SDK.

Release notes for the client SDKs. The web widget is served from app.stingim.com and updates automatically; the mobile SDKs are versioned releases you download from SDK downloads.

Web widget — host protocol v2 (2026-11-20)

  • Calls to window.stingIm made before the widget is ready are queued and delivered in order.
  • New onReady(cb), stingImSettings.onReady and the stingim:ready, stingim:state, stingim:identity, stingim:error events.
  • identify() and logout() return a Promise<boolean>; signed identity with optional exp (identity verification).
  • hide() is now a real hidden state; getStatus() reports hidden, identityStatus, error and destroyed.
  • New destroy() for single-page apps; loading the install code twice is a no-op.
  • The script can be placed in <head>.
  • A rejected configuration hides the widget and logs one clear [stingim] Chat widget disabled: … error.
  • Privacy: query strings are stripped from reported URLs except utm_*, stg_tag, stg_l and keepQueryParams.
  • Configurable AI disclosure line in the widget.

Android SDK 1.1.0 (2026-11-23)

AI replies are presented like replies from your team. Public API changes are additive only; upgrading only needs the new version number.

  • The widget setting ai_presentation is read from the server (StingimPluginConfig.getAiPresentationMode(), isAiSeamless(), getPersonaName(), getPersonaAvatar(), isHandoffNoticeEnabled()); when it is missing the mode is seamless. Only an explicit assistant mode keeps the previous AI label.
  • In seamless mode AI replies use the same bubble and avatar as agent replies and show the team name: the message sender name, then the configured persona name, then the widget title, then a localized "Support". Internal bot names are never shown.
  • Local notifications for AI replies use the same team name.
  • The AI disclosure line stays, shown once at the start of the chat when you enable it in the console.
  • New StingimPersona helper (robotDisplayName, robotAvatar, looksLikeBotName) for apps with their own chat UI.
  • com.stingim:stingim-channel:1.1.0 from https://stingim.com/sdk/maven — see SDK downloads.

iOS SDK 1.1.0 (2026-11-23)

AI replies are presented like replies from your team. Public API changes are additive only; upgrading only needs the new version number.

  • StingimPluginConfig reads ai_presentation (aiPresentationMode, isAISeamless, personaName, personaAvatar, handoffNotice); when it is missing the mode is seamless. Only an explicit assistant mode keeps an AI label.
  • StingimChannelUI: AI replies render as normal team bubbles with the same avatar as agent replies instead of a centred notice.
  • New StingimPersona helper for apps with their own chat UI: robotDisplayName(_:config:) (sender name, then persona name, then widget title, then a localized "Support"), robotAvatar(_:config:), looksLikeBotName(_:), isSystemNotice(_:), genericTeamName(language:).
  • The AI disclosure line stays, shown once at the start of the chat when you enable it in the console.
  • StingimChannel-1.1.0.zip and StingimChannel-1.1.0.podspec — see SDK downloads.

Android SDK 1.0.0 (2026-11-21)

First stable release. The public API and behaviour are identical to 1.0.0-rc.4.

  • Licence: the SDK is free to use under the new STINGIM SDK Licence (use with the STINGIM service only), replacing the earlier commercial-agreement notice.
  • com.stingim:stingim-channel:1.0.0 from https://stingim.com/sdk/maven — see SDK downloads.

iOS SDK 1.0.0 (2026-11-21)

First stable release. The public API and behaviour are identical to 1.0.0-rc.4.

  • Licence: the SDK is free to use under the new STINGIM SDK Licence; podspec licence type Proprietary.
  • StingimChannel-1.0.0.zip and StingimChannel-1.0.0.podspec — see SDK downloads.

Android SDK 1.0.0-rc.4 (2026-11-20)

Push notifications (Firebase Cloud Messaging) and public distribution. Public API changes are additive.

  • Push token registration: StingimPush.setPushToken(context, fcmToken) uploads the device token; it is re-sent automatically after login, identity switch and token recovery. The SDK has no Firebase dependency — your app adds firebase-messaging and forwards tokens and messages.
  • StingimPush.isStingimMessage, handleRemoteMessage (local notification, suppressed while the chat is visible) and handleOpenIntent (opens the chat from a tapped notification).
  • Stingim.disconnect() removes this device's push registration before clearing the visitor token.
  • While a push token is registered, the socket closes shortly after the app goes to the background and resyncs missed messages on return.
  • StingimPushService and the push-token APIs work again (FCM only on Android).
  • Distribution: Maven repository https://stingim.com/sdk/maven and direct AAR download — see SDK downloads.

iOS SDK 1.0.0-rc.4 (2026-11-20)

Push notifications (APNs, optional FCM) and public distribution. Public API changes are additive.

  • Stingim.shared.registerPushToken(_:completion:) (APNs), registerFCMToken(_:completion:), unregisterPushToken(completion:); tokens are re-registered after every start(...) and removed on disconnect() before the visitor token is cleared.
  • While a push token is registered, the socket closes in the background and resyncs on return (opt out with StingimConfig.closeSocketInBackgroundWhenPushEnabled = false).
  • StingimPush helpers for payload parsing, foreground presentation and notification taps; StingimPushUI opens the built-in chat from a notification.
  • Deprecated push names (registerAPNsToken, uploadPushToken) forward to the new implementation instead of throwing unsupported.
  • Distribution: CocoaPods podspec https://stingim.com/sdk/ios/StingimChannel.podspec and source zip for a local Swift package — see SDK downloads.

Android SDK 1.0.0-rc.3 (2026-11-20)

Compatibility release for the current backend, verified end to end against production. Public API changes are additive; removed backend features are deprecated no-ops.

Fixed

  • WebSocket authenticates with Authorization: Bearer; heartbeat follows the server's hello_ok; a rate_limited error fails only the affected send.
  • First message works without an existing conversation; the real conversation id is adopted automatically.
  • Media uses direct storage upload ({object_key, file_name, file_size}) and signed preview URLs.
  • Ratings use the server's rating invitation and max_score.
  • History timestamps are parsed correctly (previously every message showed "now").
  • Offline messages send message, email and an idempotency key.

Added

  • Token lifecycle: tokens persisted with Android Keystore AES-GCM; invalid tokens are cleared; StingimAuthListener, Stingim.setAuthListener and typed StingimError.
  • Signed identity: StingimIdentity, Stingim.init(context, pluginId, appSecret, channelId, identity, callback), getIdentityStatus() / isIdentityVerified().
  • Interactive messages (buttons, quick replies, cards) with sendInteractionReply.
  • Streaming AI replies, evaluation.complete and robot.access callbacks.
  • AI disclosure and business-hours notice (StingimConfig.setProjectId).
  • English UI by default with Chinese translation; Accept-Language on REST calls.
  • All callbacks run on the main thread.

Deprecated: push-token APIs, StingimApi.getConversationDetail, StingimMessageManager.sendReplyMessage, the 0–10 submitEvaluation overloads.

iOS SDK 1.0.0-rc.3 (2026-11-20)

Connectivity

  • Bearer authentication with the stingim.gateway.v1 subprotocol.
  • Reconnects indefinitely (30 s back-off cap), immediately on foreground and network changes; heartbeat follows hello_ok.
  • Fatal unauthorized reports stingimDidFailAuthentication; direct mode re-bootstraps, token mode calls reauthenticationHandler.
  • New stingimDidUpdateUnreadCount, stingimDidReceiveRobotReplyDelta and stingimDidReceiveEvent.

Messaging and media

  • First message works without an existing conversation.
  • Direct storage upload replaces the removed upload endpoint (uploadFile deprecated); incoming media via signed preview URLs.
  • Interactive messages (StingimInteractive, sendInteraction).
  • Correct timestamp parsing for messages, conversations and queue times.

Identity, ratings and more

  • start(pluginId:appSecret:channelId:identity:nickname:) with HMAC identity and identityStatus.
  • Ratings use the server's rating invitation; tenantId no longer required.
  • fetchPluginConfig() for AI disclosure and business hours, shown in the built-in UI.
  • Offline messages send message, email and an idempotency key.
  • Swift tools 6.0 / Xcode 16+.
  • Source-breaking: exhaustive switch statements over StingimError need the new cases.
  • Deprecated: getConversationDetail and push-token APIs (throw unsupported).

Android & iOS 1.0.0-rc.2 (2026-09-06)

  • A stored contact is restored only when both the contact id and its current token match the same plugin and channel; otherwise a new anonymous visitor is created.
  • Switching to a different identity tears down the previous connection first.
  • initWithUser (Android) and the caller-selected userId bootstrap (iOS) are deprecated: a business user id is not a credential.

Android & iOS 1.0.0-rc.1 (2026-09-04)

  • Server-issued visitor token initialisation without embedding the App Secret.
  • Stable local message IDs, acknowledgement reconciliation, resend after reconnect and history gap recovery.
  • Android: voice messages in the built-in UI; reduced manifest permissions; API 23 minimum.
  • iOS: SwiftPM and CocoaPods packaging, offline cache, privacy manifest, Swift 6 concurrency-safe API.

Found a mistake? Email [email protected]