npm i --save nativescript-plugin-verloop
- Version: 1.3.2
- GitHub:
- NPM: https://www.npmjs.com/package/nativescript-plugin-verloop
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
NativeScript Verloop Plugin
A {N} plugin to integrate Verloop live chat into your NativeScript application.
Installation
Describe your plugin installation steps. Ideally it would be something like:
tns plugin add nativescript-plugin-verloop
Usage
Instantiate Verloop object
const config : IVerloopConfig = {
clientId : '<Your-client-id>',
fcmToken : null,
userId : '<user-id>',
name : "<user-full-name>",
email : '<user-email>',
//Custom fields.
token : "<custom token to access your API>"
};
this.verloop = getVerloopInstance(config);
Launch chat later on. may be when user taps on floating action bar icon
this.verloop.showChat();
License
Apache License Version 2.0, January 2004