Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 6bb1d96 Mar 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Use master channel Aug 17, 2018
android Added user registration with email Mar 25, 2019
example
ios
lib Check if userId or email are null and not empty Mar 27, 2019
test New release Mar 27, 2019
.editorconfig
.gitignore
CHANGELOG.md New release Mar 27, 2019
LICENSE Update LICENSE Jul 21, 2018
README.md
analysis_options.yml Refactoring Jul 21, 2018
intercom_flutter.iml
intercom_flutter_android.iml
pubspec.yaml New release Mar 27, 2019

README.md

intercom_flutter

Pub

Flutter wrapper for Intercom Android and iOS projects.

Usage

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

Example:

import 'package:intercom_flutter/intercom_flutter.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.

You can’t perform that action at this time.