Skip to content

alexteusz/cognigy_flutter_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cognigy Demo - Flutter App

This project implements a demo mobile application to show how to connect your Cognigy.AI project to a Flutter app. Therefore, the user has to insert the Socket Endpoint Configurationinto the configuration dialog. After that, the application will automatically connect to Cognigy; the status is displayed by a green or red button on the top-right corner of the screen.

Demo Images

Enable Push Notifications

This applications uses the Flutter Local Notifications package to provide push notifications on IOS and Android devices. Please follow the linked tutorial and take a look at the Example Application to get familiar with this solution.

Send Notifications

In order to send notifications which should be displayed to the user, use the Cognigy Inject API. When you send a mesage, the Flow will be executed again with the sent text input. If the app is not in the foreground of the user's device, it will show a push notification to let him know that a new message arrived in the chat.

Todo:

  • Add Push Notifications for enabling notify API usage
  • Add Push Notifications for Android devices
  • Store socket url and url token into file to make is persitent over time
  • Add list message support
  • Add various styles which the can choose in the settings
  • Add voice input permissions on Android devices: https://pub.dev/packages/speech_to_text
  • Add the feature to add multiple socket endpoint connections to a list so that the user can select a demo from this list and directly show it
  • Add the Cognigy logo to the settings dialog window and hide it in the main chat window
  • When a user adds a new socket connection to the list of connections, provide a chatbot name field which will rendered to the top of the chat page where the cognigy logo is located now

About

Cognigy.AI 📱Socket.IO - Flutter - Client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages