Skip to content

Conversation

@ttypic
Copy link
Contributor

@ttypic ttypic commented Oct 31, 2025

Description

Based on internal customer feedback: https://ably-real-time.slack.com/archives/C07RGGVHQ7L/p1761225328497749

Add React Native setup instructions for encrypted channels

  • Documented the use of WebCrypto APIs (crypto.subtle methods) and additional dependencies for React Native.
  • Provided a list of recommended polyfills for cryptographic primitives and text decoding in React Native.

Checklist

- Documented the use of WebCrypto APIs (`crypto.subtle` methods) and additional dependencies for React Native.
- Provided a list of recommended polyfills for cryptographic primitives and text decoding in React Native.
@ttypic ttypic requested review from VeskeR and m-hulbert October 31, 2025 13:23
@coderabbitai
Copy link

coderabbitai bot commented Oct 31, 2025

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.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch react-native-encrypted-channels

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 and usage tips.


The key that's in use at any given time is known by the SDK. The Ably service only knows that a given message payload was encrypted, not the key used to encrypt it. When accessing messages using the history feature, it is the caller's responsibility to ensure that the correct key is configured for the channel before the history request is made.

<If lang="javascript">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would should be React, and we'd provide some relevant sample code in the blocks.

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.

3 participants