inngage_plugin 2.0.4 icon indicating copy to clipboard operation
inngage_plugin: ^2.0.4 copied to clipboard

The inngage plugin to flutter apps.

pub package

inngage_plugin #

This SDK inf lutter aims to enable integration with the Inngage platform

Add the plugin to your project #

  • Open the pubspec.yaml
  • add to the dependencies section

Access here to see the official documentation on the inngage website


How to use #

 final json = {
      "nome": "User 01",
      "dt_nascimento": "01/09/1970",
      "genero": "M",
      "cartao": "N",
      "ultimo_abastecimento": "10/09/2018",
      "total_abastecido": "290,00"

    final inngageWebViewProperties = InngageWebViewProperties(
      appBarText: Text(
      backgroundColor: Colors.white,
      debuggingEnabled: true,
      withJavascript: true,
      withLocalStorage: true,
      withZoom: true,
    await InngageSDK.subscribe(
      appToken: 'appToken',
      friendlyIdentifier: '',
      customFields: json,
      phoneNumber: 'phoneNumber',
      email: '',
      firebaseListenCallback: (data) => print(data['additional_data']),
      navigatorKey: navigatorKey,
      inngageWebViewProperties: inngageWebViewProperties,
      requestAdvertiserId: false,
    await InngageEvent.sendEvent(
      eventName: 'MyOtherEventWithoutEventValues',
      appToken: 'appToken',
      identifier: '',
      eventValues: {
        'location': '12312312312',
    await InngageEvent.sendEvent(
      eventName: 'send_test',
      appToken: 'appToken',
      identifier: '',

  var localNotification = InngageNotificationMessage.flutterLocalNotificationsPlugin;

Call subscribe() on a InngageSDK to request it.