nativescript-plugin-botjet
Unofficial nativescript plugin for botjet.ai.
npm i --save nativescript-plugin-botjet

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