Repository navigation
RespondKit 0.6.2 — no email-ask flash, Android attach icon, translated client strings
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
RespondKitUItarget and the Compose module now bundle the resources generated fromlocalization/messages, and the web and React Native packages ship a generatedmessages.ts. The empty state, the "Ask us anything" subtitle and the attach menu read from that catalog on every client (web bycontext.locale, React Native by the device locale). Other strings remain English literals for now. The catalog ships English only. Other languages need a reviewedmessages/{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) andSupportSnapshot.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.xmlis gone, and its strings come from the shared catalog.respondkit_newno longer exists (userespondkit_new_conversation), andrespondkit_intronow holds the longer intro line, with the short one inrespondkit_intro_short. Hosts that override either name must update their overrides.
Operator checklist
- Publish GitHub release
v0.6.2, which runs the npm publish workflow. Publish Maven Central perdocs/native/releases.md. - Point ReceiptGenie 2.9.0 at 0.6.2.