Repository navigation
docs(android): Chat SDK 5.1.2 changes and version bump - #629
adityagokula2210 wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
ketanyekale
left a comment
There was a problem hiding this comment.
LGTM. Approving. Hold the merge until Android Chat SDK 5.1.2 is published, as the description says.
Checked:
- Build is safe: no files removed or renamed, 0 unresolved nav refs, 0 broken internal links in the changed files. Mintlify deployment and link-rot checks pass.
- No
chat-sdk-android:5.1.0pins left anywhere undersdk/android/v5/. The "5.1.0 or later" minimum is kept. - The pin/save "fires on the acting device" wording is gone from every page, including
real-time-listenersand the Android UI Kitconversationspage. The new wording is consistent across pin-message, save-message and pin-conversation. - The media budget change matches across
offline-send(both the reason table and the queue section) andoffline-media-caching. Thenullid wording forERROR_OFFLINE_MESSAGE_NOT_FOUNDmatches acrossoffline-sendandoffline-reference.
Non-blocking nits:
offline-send.mdx:353: queued media no longer counts toward the budget and LRU media is evicted first. SoBYTE_OVERFLOWnow effectively means the file is bigger than the wholemaxMediaCacheSize. The Flutter PR (#628) says that outright ("when it is larger than the wholemaxMediaCacheSizebudget"). Using the same wording here would make the condition clearer and keep the two SDKs aligned.- The new notes tell readers to upgrade the Android UI Kit to 6.3.0, but the UI Kit pages (
getting-started*,upgrading-from-v5,message-template,llms-android-v6) still pin 6.2.0. Worth a follow-up bump when UI Kit 6.3.0 ships.
jitvarpatil
left a comment
There was a problem hiding this comment.
🤖 Review Buddy (review-docs-pr)
Recommendation: request changes. Automated review; the final decision stays with a maintainer.
TL;DR: This PR changes text in 16 existing Android v5 pages. No pages move, so the structure is safe: 0 missing redirects, 0 broken navigation refs, 0 orphans, 0 broken links. I checked every behaviour claim against the Android Chat SDK release-v5-v5.1.2 commits, and each one matches a fix in that release: ENG-41096 (pin/save listeners no longer fire on the acting device), ENG-41097 (deleteGroup cache purge), ENG-41098 (overlapping fetchNext), ENG-41100 (null id), ENG-41102 (lastMessage status), ENG-41106 and ENG-41157 (media budget and LRU eviction), and ENG-41107 (page is saved only when it joins the cached range). Two things need fixing before merge. The new note tells readers to upgrade to a UI Kit version that doesn't exist yet. The overlapping-fetchNext sentence also contradicts the next rule on the same page.
P0
None.
P1
- The note asks readers to upgrade to Android UI Kit 6.3.0, which isn't released. See
sdk/android/v5/pin-message.mdx:316-318,sdk/android/v5/pin-conversation.mdx:261-263andsdk/android/v5/save-message.mdx:248-250.cometchat-team/uikit-androidhas no 6.3.0 branch or tag; the latest isv6.2.0. If this merges when SDK 5.1.2 ships but before UI Kit 6.3.0, readers are told to install a version they can't get. Also, SDK 5.1.2 no longer fires these callbacks on the acting device, so a UI Kit that relied on them would stop updating its own pins. Hold the merge until both releases are out (please add that to the PR body), or change the note to "the UI Kit release that supports SDK 5.1.2". - The same page now contradicts itself. See
sdk/android/v5/offline-cached-data.mdx:52-53. The new sentence says that an overlappingfetchNext()"returns an empty page at once, online or offline". The next bullet still says: "The server phase never fires offline. It fires only on a genuine server response." In the SDK (commit8a0f8366), that empty page arrives throughonServerConversations/onServerUsers, which is the server phase, and it arrives offline too. Name the callback, and add an exception to the "never fires offline" rule. Also tell readers that this empty page does not mean the end of the list, because pagination UIs usually stop on an empty server page. The same sentence appears insdk/android/v5/block-users.mdx:269andsdk/android/v5/retrieve-conversations.mdx:573.
P2
- Merge gate.
cometchat/chat-sdk-androidhas no 5.1.2 GitHub release yet (latest is 5.1.1, 2026-11-09).sdk/android/v5/changelog.mdxredirects to that releases page. Before merging, check that the 5.1.2 artifact is published and that its release notes are live. Otherwise the install snippets point to a version that doesn't exist. - Repeated text in the table. In
sdk/android/v5/additional-message-filtering.mdx:1404-1405, the longsetMessageIdandsetTimestamprows say the same thing. Consider keeping "Cached" in both rows and moving the "shown, saved only when it joins the cached history" rule into one sentence below the table, like thesetPinned/setSavednote. - Wording. In
sdk/android/v5/retrieve-conversations.mdx:408, the existing typo "Last message the conversation" should be "Last message of the conversation". The PR edits that row, so this is a good time to fix it.
Passed / skipped
- ✅ Redirects: 0 files removed or renamed; redirect count unchanged (927 → 927).
- ✅ Build: 0 navigation refs that don't resolve. Orphans: 0 in
sdk/android/v5/. - ✅ Links: the new in-content links (
/sdk/android/v5/offline-send,/sdk/android/v5/offline-cached-data) point to files that exist. - ✅ Version pins: every
chat-sdk-android:x.y.zpin insdk/android/v5is now5.1.2; the "5.1.0 or later" minimum is unchanged.llms-android-v5.mdxuses5.+and is fine. - ✅ No other v5 page still says the old things: "fires on the acting device", "queued media counts toward the budget" or "nothing is evicted".
offline-reference.mdx:51("Media-only byte budget (LRU)") is consistent. - ✅ No images were added or changed. No TODOs or placeholders.
- ⏭️ Build gate: not applicable (docs). The Mintlify preview deployment is 🟢 Ready.
jitvarpatil
left a comment
There was a problem hiding this comment.
✅ Approved via Review Buddy after an automated review (P0: 0 · P1: 2 · P2: 3).
Findings: #629 (review)
|
Superseded by #634, which combines this PR with its Android counterpart unchanged (same commits, cherry-picked) now that Android Chat SDK 5.1.2 and Android UI Kit 6.3.0 are both published. |
Brings the Android Chat SDK v5 pages in line with SDK 5.1.2.
onSuccess. Adds a note that Android UI Kit users should upgrade to 6.3.0 with SDK 5.1.2.BYTE_OVERFLOWonly if the file still cannot fit. Media of queued messages does not count toward the budget.ERROR_OFFLINE_MESSAGE_NOT_FOUNDnow also covers anullid.maxMediaCacheSize.ERROR_OFFLINE_MESSAGE_NOT_FOUNDalso covers anullid.fetchNext()on aConversationsRequestorBlockedUsersRequestmade while the first is still loading returns an empty page at once, online or offline.lastMessagecarriesPENDING/FAILEDstatus for a message that has not been sent yet.deleteGroup()succeeds, the group's conversation, messages, media, queued messages, pins and saved messages are removed from the cache.setMessageId/setTimestamprows to the offline table. The server page is shown, and is saved to the cache only when it connects to the cached history.5.1.2. The "5.1.0 or later" minimum stays.Merge when Android Chat SDK 5.1.2 is published.
🤖 Generated with Claude Code