The Flutter SDK

Our Flutter SDK provides pre-built chat UI widgets for your Flutter application.

You can use the Flutter SDK with Flutter versions 3.16.0 and higher.

How to install the Flutter SDK

To install the Flutter SDK into your app, run the following commands in your Flutter project root:

1flutter pub add talkjs_flutter
2flutter pub get

If you intend to use Firebase on your app on iOS, you have to add the following entry to your Info.plist either by editing the file directly or via Xcode:

1<key>flutter_apns.disable_swizzling</key>
2<true/>

This is due to the TalkJS Flutter package depending on the flutter_apns package, which by default disables Firebase. By setting that entry, you ensure that Firebase is not disabled, and thus it can be used.