
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
react-native-helpscout-beacon
Advanced tools
Integrate the Helpscout Beacon into your React Native app.
Current version: 2.0.1
Tested version: 1.0.3
This library is compatible with and supported for React Native v0.60+
.
React Native 0.60
and above:
$ yarn add react-native-helpscout-beacon
pod 'Beacon'
to your Podfile
For React Native 0.59
and below linking will be necessary (not tested): $ react-native link react-native-helpscout-beacon
Can be updated in your main project directory by running
cd ios/ && pod update Beacon
Has to be updated in this module's android/build.gradle
, i.e. the lines
implementation "com.helpscout:beacon-core:2.0.1"
implementation "com.helpscout:beacon-ui:2.0.1"
import HelpscoutBeacon from 'react-native-helpscout-beacon';
// init has to be called first
HelpscoutBeacon.init('my_helpscout_id');
// Login into your helpscout account
HelpscoutBeacon.login('email@address.com', 'John Smith', 'user_id_of_john_smith');
// Open the helpscout beacon (using a cryptographic signature)
HelpscoutBeacon.open('mySignature');
Generally, please refer to the official docs for ios and android for documentation on the following methods.
Not all methods of the SDKs are implemented so far.
init
Initialize the Helpscout beacon library - has to be called before any other Helpscout method.
HelpscoutBeacon.init('my_helpscout_id');
logout
Logout user from the Helpscout Beacon.
HelpscoutBeacon.logout();
addAttributeWithKey
Used to add an user attribute represented as a key / value pair. There is a limit of 30 attributes per user.
HelpscoutBeacon.addAttributeWithKey('some_key', 'some_value');
open
Opens the Helpscout Beacon with Help Center articles.
The init
and login
methods will need to have been called before this will work.
May be used without arguments or with an optional signature
(secure mode).
HelpscoutBeacon.open('my_signature');
openArticle
Opens the Helpscout Beacon at a specific Help Center article. (Helpscout docs integration has to be enabled)
HelpscoutBeacon.openArticle('some_article_id', 'my_signature');
suggestArticles
The suggestArticles method allows you to change the default list of suggested articles. Article IDs can be found in Help Scout by navigating to the article and copying the article ID from the URL. The URL is structured like this: https://secure.helpscout.net/docs/[COLLECTION ID]/article/[ARTICLE ID]/
.
Custom suggestions will only get loaded when the Beacon is opened. If the Beacon is not present, loading the custom suggestion data will get queued up for the next Beacon display.
Notes:
const articleIDList = ['id1', 'id2', 'id3'];
HelpscoutBeacon.suggestArticles(articleIDList);
resetSuggestions
Reset any suggested articles set by suggestArticles
back to Helpscouts own default suggestions.
HelpscoutBeacon.openArticle('some_article_id', 'my_signature');
These methods are not part of the original SDKs but have proven to be useful.
login
Convenience method to identify the user via setting an attribute with key userId
.
HelpscoutBeacon.login('email@address.com', 'John Smith', 'user_id_of_john_smith');
It is equivalent to
HelpscoutBeacon.identify('email@address.com', 'John Smith');
HelpscoutBeacon.addAttributeWithKey('userId', 'user_id_of_john_smith');
loginAndOpen
Convenience method to login via setting an attribute with key userId
and opening the Helpscout beacon (with optional signature).
HelpscoutBeacon.loginAndOpen('email@address.com', 'John Smith', 'user_id_of_john_smith', 'mySignature');
FAQs
Integrate Helpscout Beacon in to your React Native app
We found that react-native-helpscout-beacon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.