nativescript-plugin-verloop
Nativescript plugin for verloop.
npm i --save nativescript-plugin-verloop

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