Skip to main content

truhuddle_widget 1.0.3 copy "truhuddle_widget: ^1.0.3" to clipboard
truhuddle_widget: ^1.0.3 copied to clipboard

Native TruHuddle customer support for Flutter with live messaging, AI agents, voice notes and workspace-controlled permissions.

TruHuddle Widget for Flutter #

Add customer support chat to your Android or iOS app.

Install #

Requires Flutter 3.41 / Dart 3.11 or newer.

dependencies:
  truhuddle_widget: ^1.0.3

Run flutter pub get.

Open chat #

Copy your App ID from TruHuddle's Developer settings and add your app's package or bundle identifier in Widget settings.

import 'package:truhuddle_widget/truhuddle_widget.dart';

await TruhuddleWidget.open(context, options: TruhuddleOptions(
  appId: 'YOUR_APP_ID',
  packageName: 'com.example.app',
  getSession: () async {
    final session = await yourApi.createSupportSession();
    return TruhuddleSession.fromJson(session);
  },
));

yourApi.createSupportSession() is your signed-in backend endpoint. Follow the native session setup guide to create it. Keep your API secret on your backend. Close the chat when the customer signs out.

Permissions #

Use Android API 24+ and iOS 13+.

Add to android/app/src/main/AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />

Add to ios/Runner/Info.plist:

<key>NSMicrophoneUsageDescription</key>
<string>Record voice notes for support.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Share photos with support.</string>

Customize #

Set your greeting, logo, colors, theme and attachment options in TruHuddle's Widget settings.

Documentation

0
likes
140
points
1.14k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native TruHuddle customer support for Flutter with live messaging, AI agents, voice notes and workspace-controlled permissions.

Homepage

Funding

Consider supporting this project:

truhuddle.com

License

MIT (license)

Dependencies

audio_waveforms, flutter, http, hugeicons, image_picker, path_provider, url_launcher, uuid

More

Packages that depend on truhuddle_widget