Skip to content

softcand/react-native-supsischat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SupsisChat for React Native

This is a React Native component to easily add SupsisChat widget to your application.

It works for both iOS and Android.

Getting Started

Prerequisites

To use SupsisChat in your React application, you will need the SupsisChat license ID.

  • domainName - Defines the name of your application
  • For instance , namespace - supsis - for www.supsis.com

If you don't have an account, you can create one here.

Installation

To import SupsisChat for React Native, run the following command to install required dependency (react-native-webview) and react-native-supsischat library:

yarn add react-native-webview react-native-supsischat
npm install react-native-webview react-native-supsischat --save

User Guide

Start

Having imported SupsisChat for React Native, put it in your render method:

import { SupsisChat } from 'react-native-supsischat'

...

<SupsisChat ref={supsisRef} domainName="your-domain-name"/>

Commands

openmakes visible supsis
closemakes invisible supsis
setUserDatafills login form
setDepartmentallows you to pick a department
Example:
supsisRef.current.setUserData({
	email: "John@doe.com",
});

Support

If you need any help, you can chat with us here.

I hope you will find this module useful. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published