Skip to content
Unofficial plugin for NativeScript for botjet dot ai
Objective-C HTML TypeScript Shell JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
demo
native-src/ios-sdk
publish
src
.gitignore
.travis.yml
LICENSE
README.md
tslint.json

README.md

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

You can’t perform that action at this time.