FastComments.com

FastComments React Native Library

This is the official React Native Library for FastComments.

FastComments commenting widgets for React Native

Repository

View on GitHub

Installation Internal Link

npm install react-native-webview@13.6.4 --save
npm install fastcomments-react-native --save

Note: As of July 2024 it seems react-native-webview has a bug, so it's best to pin to 13.6.4 - don't use ^ to get the latest patch version.

Consider The Native SDK Internal Link

This library uses a webview around the VanillaJS library.

FastComments now supports a completely native implementation of our client as part of fastcomments-react-native-sdk. If you want a completely native implementation you may want to look there.

Usage - SSO Internal Link

FastComments uses HMAC for Secure SSO. To use, have your backend create the SSO object (sso config property) and pass it to the comment widget.

You can find examples for various backends, here: https://github.com/FastComments/fastcomments-code-examples/tree/master/sso

Peer Dependencies Internal Link

fastcomments-react-native requires react-native-webview. As such, you should follow the installation steps for react-native-webview.

Account Region (ATTENTION: EU Customers)

If your account is located in the EU, set region = 'eu' in the widget configuration. Otherwise, you do not have to define region.

Need Help?

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

Contributing

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