| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Chatie App for Android & Ios & Web
Chatie.io - Make your own ChatBot in no language, in minutes.
Picture Credit: https://blog.ionicframework.com/angular-2-ionic/
OS: Ubuntu 17.10
sudo apt install \
adb \
android-platform-tools-base \
android-sdk \
android-sdk-platform-23 \
android-sdk \
android-sdk-platform-tools
cd $ANDROID_HOME
# download link comes from https://developer.android.com/studio/index.html
wget https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
sudo unzip -n sdk-tools-linux-3859397.zip
sudo chmod +x \
tools/bin/sdkmanager \
tools/bin/avdmanager
# XXX: make sure the following line is required...?
sudo ./tools/bin/sdkmanager "build-tools;27.0.3"
# IMPORTANT: Accept all the licenses
./tools/bin/sdkmanager --licenses
./scripts/android.sh# Ios: https://cocoapods.org/
$ sudo gem install cocoapods./scripts/ios.shionic cordova platform add browser
ionic cordova build browser --prodBy adding ?BROLOG_LEVEL=silly to URL, you can enable full debug output messages in the console.
For example:
<<<<<<< HEAD
=======
ec6237233f54b2f152977a6b8964732ce6f054c4
How to use Observable.
A Progressive Web App(PWA) uses modern web capabilities to deliver an app-like user experience.
title: "Welcome to the Platform!", description: "The Ionic Component Documentation showcases a number of useful components that are included out of the box with Ionic.",
title: "What is platform?", description: "Ionic Framework is an open source SDK that enables developers to build high quality mobile apps with web technologies like HTML, CSS, and JavaScript.",
title: "What isPlatform?", description: "The Ionic Platform is a cloud platform for managing and scaling Ionic apps with integrated services like push notifications, native builds, user auth, and live updating.",
import { Giftie } from '@chatie/giftie'import { Botie } from '@chatie/botie'
const botie = new Botie()const botie = new Botie('token')
try {
await botie.init()
await botie.test().pipe(
tap(progress => {
console.log('on progress...', progress)
})
).toPromise()
wechaty.addBotie(botie)
} catch (e) {
if ( e.instanceof(UnitTestingException )) {
// botie test fail
} else {
// other exception
}
}
function addBotie(botie: Botie): Promise<void> {
// const eventNameList = botie.eventNameList()
// const eventListenerList = botie.eventListenerList()
// for (const i in eventNameList) {
// this.addListener(eventNameList[i], eventListenerList[i])
// }
botie.bind(this)
botie.listener.subscribe.pipe(
tap(
(event, listener) => this.addListener(event, listener),
),
).toPromise()
}
function removeBotie(botie: Botie) Promise<void> {
botie.listener.subscribe.pipe(
tap(
(event, listener) => this.removeListener(event, listener),
),
).toPromise()
}
const wechaty = Wechaty.instance()
wechaty.setPuppet(new HostiePuppet('token'))
wechaty.start()| Back | FazBrowse Home | New Git URL |