Skip to content

ucooling/react-native-zendesk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-zendesk

React Native bridge to Zendesk Support SDK v2 on iOS and Android.

Installation

  1. Add the package via yarn or npm
yarn add react-native-zendesk
npm install --save react-native-zendesk
  1. Link the modules to your native projects
react-native link react-native-zendesk

Getting Started

Initializing the Support SDK (Required)

const config = {
  zendeskUrl: ZENDESK_URL,
  appId: ZENDESK_APP_ID,
  clientId: ZENDESK_CLIENT_ID,
};

Zendesk.initialize(config);

Setting an identity (Required)

Setting a unique identity

Zendesk.identifyJWT(USER_TOKEN);

Adding Help Center

// possible options to pass to the help center
interface Options {
  hideContactSupport?: boolean
}

Zendesk.showHelpCenter(OPTIONS);

About

Zendesk SDK for React Native

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 92.5%
  • CSS 3.7%
  • Java 1.4%
  • Shell 1.2%
  • Swift 1.1%
  • JavaScript 0.1%