Skip to content

Update React Native guide for push notifications plugin#3478

Merged
ttypic merged 3 commits into
mainfrom
AIT-1170/react-native-push-docs
Jul 24, 2026
Merged

Update React Native guide for push notifications plugin#3478
ttypic merged 3 commits into
mainfrom
AIT-1170/react-native-push-docs

Conversation

@ttypic

@ttypic ttypic commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

This pull request updates the React Native push notifications guide to incorporate the new ably/react-native-push plugin provided by the Ably JavaScript SDK v2.25.0. The updated guide includes:

Additionally, updates include adding the guide to the Pub/Sub navigation and providing a React Native example on the device activation page.

Checklist

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5635c612-bf97-4994-83d6-a097f80ac7d6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch AIT-1170/react-native-push-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ttypic
ttypic requested a review from owenpearson July 21, 2026 09:05
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from 75bb1d7 to 11d7732 Compare July 21, 2026 09:09
@ttypic
ttypic requested a review from m-hulbert July 21, 2026 09:10
@ttypic ttypic added the review-app Create a Heroku review app label Jul 21, 2026
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 21, 2026 09:10 Inactive
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from 11d7732 to af0cf2b Compare July 21, 2026 11:20
@ably-ci
ably-ci had a problem deploying to ably-docs-ait-1170-reac-npxg4u July 21, 2026 11:20 Failure
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from af0cf2b to 1d92a74 Compare July 21, 2026 12:31
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 21, 2026 12:31 Inactive
Comment thread src/pages/docs/push/getting-started/react-native.mdx
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 22, 2026 11:03 Inactive
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from fad965a to b599731 Compare July 23, 2026 12:15
@ttypic
ttypic requested a review from owenpearson July 23, 2026 12:16
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 23, 2026 12:16 Inactive
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from b599731 to 0f82fc2 Compare July 23, 2026 17:18
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 23, 2026 17:19 Inactive
ttypic and others added 2 commits July 24, 2026 12:34
Ably JavaScript SDK 2.25.0 adds first-class React Native push support via
the ably/react-native-push plugin, replacing the previous workaround of
registering devices through the push admin API. The getting-started guide
now creates the plugin with app-supplied AsyncStorage and a requestToken
callback, activates with push.activate(), reads device state with the new
getDevice(), and subscribes channels with channel.push.subscribeDevice().
Adds the guide to the Pub/Sub nav and a React Native example to the
device activation page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…t Native

- Added details on using `push.updateToken()` to sync updated push tokens with Ably when rotated by the platform.
- Included examples for React Native setup and API usage.
@ttypic
ttypic force-pushed the AIT-1170/react-native-push-docs branch from 0f82fc2 to 8f86c21 Compare July 24, 2026 11:34
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 24, 2026 11:34 Inactive
@ttypic
ttypic requested a review from zknill July 24, 2026 11:46
Comment thread src/pages/docs/push/getting-started/react-native.mdx Outdated
Comment thread src/pages/docs/api/realtime-sdk/push.mdx Outdated
Co-authored-by: zak <zak@knill.dev>
@ably-ci
ably-ci temporarily deployed to ably-docs-ait-1170-reac-npxg4u July 24, 2026 12:30 Inactive
@ttypic
ttypic merged commit 7f991f3 into main Jul 24, 2026
5 of 6 checks passed
@ttypic
ttypic deleted the AIT-1170/react-native-push-docs branch July 24, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

4 participants