nativescript-plugin-botjet
v0.1.4
Published
Unofficial nativescript plugin for botjet.ai.
Downloads
6
Maintainers
Readme
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
- Fixed isLocationRequired property for iOS.
- Fixed Title property for Android and removed native loading view.
0.1.4
- Fixed isLocationProperty in nativescript plugin code.
License
Apache License Version 2.0, January 2004