Skip to content
pubscout

intercom_flutter

9.6.38, released 5 days ago by intercom.deepakdroid.xyz

Flutter plugin for Intercom in-app messaging and help-center integration.

WASM-readyRock solid
$ flutter pub add intercom_flutter
Source repository

What it does

Integrates the Intercom SDK for Android, iOS, and Web into a Flutter application. It allows users to view in-app messages, open the help center, and handle customer support conversations.

AI-written summary of version 9.6.36, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need in-app customer support and chat functionality from Intercom in your app.
  • You want to display the Intercom help center and articles natively.

Skip it when

  • You only need local notifications or standard push notifications without Intercom services.
  • You use a customer support platform other than Intercom.

Strengths

  • Supports Android, iOS, and Web platforms.
  • Wraps the latest native Intercom SDKs for Android and iOS.

Weaknesses

  • Requires platform-specific configuration like custom Android Application class setup and iOS permissions.
  • Some functions are not yet supported on Web.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
2

Requires native configuration including extending FlutterFragmentActivity on Android, custom Application class for native SDK initialization, NSPhotoLibraryUsageDescription on iOS, and integration with firebase_messaging for push notifications.

import 'package:flutter/material.dart';
import 'package:intercom_flutter/intercom_flutter.dart';

void main() async {
    WidgetsFlutterBinding.ensureInitialized();
    await Intercom.instance.initialize('appIdHere', iosApiKey: 'iosKeyHere', androidApiKey: 'androidKeyHere');
    runApp(App());
}

class App extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
        return FlatButton(
            child: Text('Open Intercom'),
            onPressed: () async {
                await Intercom.instance.displayMessenger();
            },
        );
    }
}

Alternatives

Packages that do the same job and could replace intercom_flutter.