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

0.1.4 • Public • Published

nativescript-plugin-botjet

Unofficial plugin to integrate BotJet.ai Webbased native sdks into your nativescript projects.

Installation

Describe your plugin installation steps. Ideally it would be something like:

tns plugin add nativescript-plugin-botjet

Usage

Describe any usage specifics for your plugin. Give examples for Android, iOS, Angular if needed. See nativescript-drop-down for example.

import { BotJetSDK, BotJetConfig } from "nativescript-plugin-botjet";

const config : BotJetConfig =  { 
    clientId : "<--your client id-->",
    botId : "<!-- your bot id -->",
    title : "My Chat Bot",
    accentColor : "#323b8c",
    senderId : '<!-- logged in user specific keys-->'
}

BotJetSDK.launchChatWithConfig(config);

Change Log

  • 0.1.3
    1. Fixed isLocationRequired property for iOS.
    2. Fixed Title property for Android and removed native loading view.
  • 0.1.4
    1. Fixed isLocationProperty in nativescript plugin code.

License

Apache License Version 2.0, January 2004

Package Sidebar

Install

npm i nativescript-plugin-botjet

Weekly Downloads

0

Version

0.1.4

License

Apache-2.0

Unpacked Size

612 kB

Total Files

25

Last publish

Collaborators

  • rajivnarayana