nativescript-plugin-verloop
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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

Package Sidebar

Install

npm i nativescript-plugin-verloop

Weekly Downloads

0

Version

1.3.2

License

Apache-2.0

Unpacked Size

1.08 MB

Total Files

24

Last publish

Collaborators

  • rajivnarayana