FastComments.com

FastComments React Native SDK

This is the official React Native SDK for FastComments.

FastComments SDK for React Native applications

Repository

View on GitHub

Installation Internal Link

npm install fastcomments-react-native-sdk --save

Screenshots Internal Link

Skin: Erebus

Skin: Erebus

Skin: Default

Skin: Default

Native WYSIWYG Editor with Image Support!

Native WYSIWYG Editor with Image Support

Rich Text Editor

This library uses the 10tap editor for rich text editing functionality, which provides a powerful WYSIWYG editing experience.

Configuration Options

This library aims to support all configuration options defined in fastcomments-typescript, just like the web implementation.

FastComments Concepts

The main concepts to be aware of to get started are tenantId and urlId. tenantId is your FastComments.com account identifier. urlId is where comment threads will be tied to. This could be a page URL, or a product id, an article id, etc.

User Notifications

FastComments supports notifications for many scenarios. Notifications are configurable, can be opted-out globally or at a notification/comment level, and supports page-level subscriptions so that users can subscribe to threads of a specific page or article.

For example, it is possible to use Secure SSO to authenticate the user and then periodically poll for unread notifications and push them to the user.

See the example AppNotificationSecureSSO for how to get and translate unread user notifications.

Gif Browser

By default, no image or gif selection is enabled. See example/src/AppCommentingImageSelection.tsx for how to support image and gif uploads. There is a Gif Browser that anonymizes searches and images provided in this library, you simply have to use it.

Performance

Please open a ticket with an example to reproduce, including device used, if you identify any performance problems. Performance is a first-class citizen of all FastComments libraries.

Need Help?

If you encounter any issues or have questions about the React Native SDK, please:

Contributing

Contributions are welcome! Please visit the GitHub repository for contribution guidelines.