Repository navigation
docs(react-native): Offline Support for the React Native UI Kit - #610
Draft
raj-dubey1 wants to merge 2 commits into
Draft
raj-dubey1 wants to merge 2 commits into
raj-dubey1 wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WEaVigCRBjkftm78T25MQA
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
raj-dubey1
marked this pull request as draft
November 16, 2026 14:02
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XbguTt1cqFxTDQyroF6wHx
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's added
ui-kit/react-native/offline-support.mdx("Offline Support"), covering:UIKitSettings.offline,initFromSettings, andCometChat.isOfflineEnabled().onErrormatrix, thesend*promise contract (ERROR_OFFLINE_MESSAGE_DISCARDED), andOfflineMessageEvents.hideOfflineNotices, custom views,messageListStyles.offlineStyles, and translations.core-features.mdx: a short "Offline Support" section with a component table and a link to the new page.docs.json, RN v5 → Features → Chat, right aftercore-features.llms-react-native-v5.mdx: the new page is listed under Core & configuration.Links go to the merged RN SDK pages (
sdk/react-native/offline-*); SDK content is not repeated here.Source
Written against
cometchat/cometchat-uikit-react-native, branchfeature/offline-support-v3atab58c2291, packagepackages/ChatUiKit(@cometchat/chat-uikit-react-native5.6.0), and its draft release notesdocs/release-notes/5.6.0-offline.md. Every API name, prop, style token, event, type and string key was checked in the kit source at that commit.Checks
python3 -m json.tool docs.json: valid..mdxfile and heading (checked by script).mint broken-links: 3 broken links repo-wide, all pre-existing indesign-system.mdxandllms-index.mdx(/llms.txt,/llms-full.txt). None are in this PR's files.Needs confirmation
package.jsonand the release-notes draft) and Chat SDK 4.2.0. Please confirm these are the final versions.FileManager.java,SafeFileName.javaandios/FileManager.m(commitsc878074cfand3b1fa3512). The page follows the code and says a native rebuild is needed. Please update the release notes, or tell me if the page should change.c878074cflater made Download and Share use the saved file. The page keeps the known issue, worded as "may not open". Please confirm it still holds.RNVideo_media3Versionoverride (android/build.gradle:76-79) already shipped in 5.5.4; they are not new in 5.6.0. The page documents them because a rebuild for offline support runs into them. The example override value1.4.1comes from the kit's own build.gradle comment.expo prebuild, not Expo Go" comes from the RN SDK offline page and the existing Expo Integration page, which already says the kit needs native modules.hideOfflineNoticesscope. The list of notices it hides comes from the prop's doc comments. I did not trace whether the "Sending… try again in a moment" and "File too large to send offline" notices are also hidden.🤖 Generated with Claude Code
https://claude.ai/code/session_01WEaVigCRBjkftm78T25MQA