docs(rn): unify React Native push notifications into a single guide - #486
Open
suraj-chauhan-cometchat wants to merge 2 commits into
Open
docs(rn): unify React Native push notifications into a single guide#486suraj-chauhan-cometchat wants to merge 2 commits into
suraj-chauhan-cometchat wants to merge 2 commits into
Conversation
Replace the split android/ios RN push guides with one unified notifications/react-native-push-notifications.mdx documenting the JS-first @cometchat/push-notifications-react-native package (FCM + APNs/VoIP, CallKit/lock-screen call UI, killed-state handling). Mirrors the Flutter restructure (#440): - delete react-native-push-notifications-{android,ios}.mdx - docs.json: collapse the two nav entries into one; redirect the old split paths (and /extensions/... ) to the unified page - repoint cross-links in notifications.mdx, push-overview.mdx, calls/v4/react-native/overview.mdx, and the SDK html-stripping guide Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
suraj-chauhan-cometchat
requested review from
mathews-cometchat and
raj-dubey1
as code owners
August 28, 2026 07:05
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The push-getting-started page is introduced by the still-open Flutter PR #440; until it merges, link the shared setup prerequisite to the existing notifications/push-overview page so the RN guide has no dead links on main. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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
Replaces the split React Native (Android) and React Native (iOS) push guides with a single unified guide at
notifications/react-native-push-notifications.mdx, documenting the JS-first@cometchat/push-notifications-react-nativepackage.Mirrors the Flutter restructure in #440.
Why
The RN push story is now one drop-in package (FCM on Android, APNs + PushKit/VoIP on iOS) with a JS-first design — native only shows UI and captures tokens; every CometChat action (register token, accept/reject/end call) runs in JS through the Chat SDK the app already ships. A single guide reflects that instead of two platform-split pages that duplicated setup.
Changes
notifications/react-native-push-notifications.mdx— unified guide: credentials, package install + platform config (npx cometchat-pn setupfor iOS PushKit; zero app-side code on Android), init after login, permissions/tokens, notification taps + call events, killed-state decline viaregisterBackgroundCallTask, Android OEM permissions, badges, testing checklist, troubleshooting.notifications/react-native-push-notifications-android.mdxand-ios.mdx./extensions/react-native-push-notifications) to the unified page.notifications.mdx,notifications/push-overview.mdx,calls/v4/react-native/overview.mdx, andsdk/react-native/push-notification-html-stripping.mdx.Every code sample, config field, method name, provider-platform value, CLI command, and native setup step was verified against the shipped package source and the reference master-app integration.
🤖 Generated with Claude Code