Skip to content

RespondKit 0.6.2 — no email-ask flash, Android attach icon, translated client strings

Choose a tag to compare

@lhr0909 lhr0909 released this 15 Oct 16:30
dc4c6a2

RespondKit 0.6.2

Release notes

A client patch for three problems found in ReceiptGenie's iOS and Android apps with 0.6.1.

  • No email-ask flash. The native stores and the React Native store now wait until the contact lookup for the current identity has succeeded before asking for an email (asksForEmail). A failed or interrupted lookup keeps the ask hidden and is retried with the next request on the same session. The ask never appears when the host supplied an email or the server already stores one. Before, iOS, Android and React Native showed the ask for a moment while the stored contact was being fetched. The web widget already waited, and new tests guard it.
  • Android attach button. The Compose composer's text "Attach files" button above the input is now a paperclip icon button to the left of the message field. It matches the web and iOS composers.
  • Translated strings. The SwiftPM RespondKitUI target and the Compose module now bundle the resources generated from localization/messages, and the web and React Native packages ship a generated messages.ts. The empty state, the "Ask us anything" subtitle and the attach menu read from that catalog on every client (web by context.locale, React Native by the device locale). Other strings remain English literals for now. The catalog ships English only. Other languages need a reviewed messages/{locale}.json.

Upgrade and compatibility

Use 0.6.2 for the npm packages, v0.6.2 for SwiftPM and 0.6.2 for Maven. No API or protocol change.

  • RespondKitStore.asksForEmail (Swift, Kotlin state) and SupportSnapshot.asksForEmail (React Native) are new. Custom screens that show their own ask should use them instead of checking the email for null.
  • Android: the Compose module's own res/values/strings.xml is gone, and its strings come from the shared catalog. respondkit_new no longer exists (use respondkit_new_conversation), and respondkit_intro now holds the longer intro line, with the short one in respondkit_intro_short. Hosts that override either name must update their overrides.

Operator checklist

  1. Publish GitHub release v0.6.2, which runs the npm publish workflow. Publish Maven Central per docs/native/releases.md.
  2. Point ReceiptGenie 2.9.0 at 0.6.2.