intercom 0.0.5

Flutter Android iOS

DEPRECATED Flutter Intercom integration

intercom_flutter #

DEPRECATED This package is deprecated, use intercom_flutter instead.

Flutter wrapper for Intercom Android and iOS projects. Currently only supports registering users and opening Intercom messenger.

Usage #

Import package:intercom/intercom.dart and use the methods in Intercom class.

Example:

import 'package:intercom/intercom.dart';

void main() async {
    await Intercom.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.displayMessenger();
            });
    }
}

See Intercom Android and iOS package documentation for more information.

Android #

Permissions:

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

Optional permissions:

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/>

iOS #

Make sure that you have a NSPhotoLibraryUsageDescription entry in your Info.plist.

0
likes
70
pub points
20%
popularity

DEPRECATED Flutter Intercom integration

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

maido@getchange.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on intercom