intercom 0.0.5 copy "intercom: ^0.0.5" to clipboard
intercom: ^0.0.5 copied to clipboard

DEPRECATED Flutter Intercom integration

example/lib/main.dart

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

void main() async {
  await Intercom.initialize('appId',
      androidApiKey: 'androidApiKey', iosApiKey: 'iosApiKey');
  runApp(App());
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          title: const Text('Intercom example app'),
        ),
        body: new Center(
          child: new FlatButton(
              onPressed: () {
                Intercom.displayMessenger();
              },
              child: Text('Show messenger')),
        ),
      ),
    );
  }
}
0
likes
30
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

DEPRECATED Flutter Intercom integration

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on intercom