Skip to content

docs(react-native): add guide for Message Privately feature#402

Open
suraj-chauhan-cometchat wants to merge 4 commits into
mainfrom
docs/rn-guide-message-privately
Open

docs(react-native): add guide for Message Privately feature#402
suraj-chauhan-cometchat wants to merge 4 commits into
mainfrom
docs/rn-guide-message-privately

Conversation

@suraj-chauhan-cometchat

Copy link
Copy Markdown
Contributor

Summary

  • Adds guide-message-privately.mdx for React Native UIKit v5
  • Documents the built-in "Message Privately" long-press option in CometChatMessageList
  • Covers CometChatUIEventHandler.addUIListener / openChat event pattern, private chat screen setup, back navigation, and hideMessagePrivatelyOption prop
  • Adds page to docs.json under Guides section

Closes

ENG-36602

Test plan

  • Page renders at /ui-kit/react-native/guide-message-privately
  • Code snippets use correct addUIListener / removeUIListener methods
  • openChat callback typed as { user?, group? }
  • Navigation setup and private chat screen examples are complete
  • "Hiding the Option" section shows hideMessagePrivatelyOption usage
  • All Next Steps cards link correctly

suraj-chauhan-cometchat and others added 3 commits June 24, 2026 17:43
Adds guide-message-privately.mdx for React Native v5 covering the built-in
sendMessagePrivately message option, CometChatUIEvents.openChat listener
pattern, private chat screen setup, and hideMessagePrivatelyOption prop.

Closes ENG-36602
…pages to nav

- Replace /ui-kit/react-native/getting-started (404) with /ui-kit/react-native/overview in campaigns.mdx and property-changes.mdx
- Add calling-integration to Features group in docs.json (before call-features)
- Add property-changes to Migration Guide group in docs.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- addUIEventListener → addUIListener (correct method name)
- removeUIEventListener → removeUIListener (correct method name)
- openChat callback typed as { user?, group? } matching actual UIEventListener
- Remove incorrect CometChatUIEvents import (not needed)
@mintlify

mintlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cometchat 🟢 Ready View Preview Jun 24, 2026, 1:32 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant