flutter_twilio_conversations

Last updated:

0 purchases

flutter_twilio_conversations Image
flutter_twilio_conversations Images
Add to Cart

Description:

flutter twilio conversations

By Diversido
flutter_twilio_conversations #
This package is based on Twilio Programmable Chat Plugin. We decided to make our own version of it and rebase to Twilio Conversations SDK since Twilio Programmeble Chat is sunsetting this year. It is not an official plugin and still requires some fixes and further maintenance, please do not report issues of it to Twilio — if you have any issues, please file an issue instead of contacting support.
Installing the plugin #
# Run the following command
$ dart pub add flutter_twilio_conversations
copied to clipboard
Setup #
No special setup required, most of the tips on Console setup can be found in Twilio's Native SDK Guides
Supported platforms #

Android
iOS
Web

Platform Specifics #
The iOS and Android SDKs take different approaches to push notifications. Notable differences include:
iOS #

The iOS SDK uses APNs whereas Android uses FCM.
The iOS SDK handles receiving and displaying push notifications.
Due to the fact that APNs token format has changed across iOS implementations, we have elected to retrieve the token from the OS ourselves at time of registration rather than attempting to anticipate what method of encoding might be used when transferring the token back and forth across layers of the app, or what format the token might take.

Android #

The Android SDK offers options for GCM and FCM. As GCM has largely been deprecated by Google, we have elected to only handle FCM.
The Android SDK does not receive messages or handle notifications.
Rather than introducing a dependency on firebase to the plugin, we have elected to leave token retrieval, message and notification handling to the user of the plugin.

An example of this can be seen in the example app.
Notable parts of the implementation in the example app include:

main.dart - which configures FirebaseMessaging with message handlers,
initializes FlutterLocalNotificationsPlugin, and creates a notification channel.





Development and Contributing #
Feel free to contribute by creating merge requests!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.