
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-native-zendesk-chat
Advanced tools
Simple module that allows displaying Zopim Chat from Zendesk for React Native.
For RN version higher than 0.59 use version >= 0.3.0
For RN version lower than 0.59 use version <= 0.2.2
Follow the instructions to install the SDK for iOS and Android.
With npm:
npm install react-native-zendesk-chat --save
or with yarn:
yarn add react-native-zendesk-chat
Add a reference to your Podfile:
pod 'RNZendeskChat', :git => 'https://github.com/robertmurray/react-native-zendesk-chat.git'
then run pod install: (cd ios; pod install)
or manually:
In Xcode, drag and drop node_modules/react-native-zendesk-chat/RNZendeskChat.m
and node_modules/react-native-zendesk-chat/RNZendeskChat.h
into your project.
Configure ZDCChat
in AppDelegate.m
:
#import <ZDCChat/ZDCChat.h>
[ZDCChat initializeWithAccountKey:@"YOUR_ZENDESK_ACCOUNT_KEY"];
android/app/main/java/[...]/MainApplication.java
import com.taskrabbit.zendesk.*;
to the imports at the top of the filenew RNZendeskChatPackage(this)
to the list returned by the getPackages()
methodandroid/settings.gradle
:include ':react-native-zendesk-chat'
project(':react-native-zendesk-chat').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-zendesk-chat/android')
android/app/build.gradle
:compile project(':react-native-zendesk-chat')
ZopimChat
in android/app/main/java/[...]/MainActivity.java
ZopimChat.init("YOUR_ZENDESK_ACCOUNT_KEY").build();
In your code add:
import ZendeskChat from 'react-native-zendesk-chat
...
ZendeskChat.startChat({
name: user.full_name,
email: user.email,
phone: user.mobile_phone,
tags: ['tag1', 'tag2'],
department: "Your department"
});
React Native is MIT licensed, as found in the LICENSE file.
FAQs
React Native Wrapper around Zopim Zendesk Chat
The npm package react-native-zendesk-chat receives a total of 294 weekly downloads. As such, react-native-zendesk-chat popularity was classified as not popular.
We found that react-native-zendesk-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.