react-native-rndrift

1.3.2 • Public • Published

react-native-rndrift

React Native Drift Demo

Getting started

$ npm install react-native-rndrift --save

Mostly automatic installation

$ react-native link react-native-rndrift

Usage

import Rndrift from 'react-native-rndrift';

// Init Drift - https://app.drift.com/settings/livechat
Rndrift.setup('YOUR API TOKEN');

// Create a user
Rndrift.registerUser('unique id of the user', 'email');

// Logout user
Rndrift.logout();

// Display conversations view
Rndrift.showConversations();

// Display create conversation view
Rndrift.showCreateConversation();

Readme

Keywords

Package Sidebar

Install

npm i react-native-rndrift

Weekly Downloads

0

Version

1.3.2

License

MIT

Unpacked Size

406 kB

Total Files

25

Last publish

Collaborators

  • saurabhch