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

inngage_plugin:2.1.2

How to use

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

  final inngageWebViewProperties = InngageWebViewProperties(
    appBarColor: Colors.pink,
    appBarText: Text(
      'AppTitle',
    ),
    backgroundColor: Colors.white,
    loaderColor: Colors.pink,
    debuggingEnabled: true,
    withJavascript: true,
    withLocalStorage: true,
    withZoom: true,
  );
await InngageSDK.subscribe(
    appToken: 'AppToken',
    friendlyIdentifier: 'user@email.com',
    customFields: json,
    phoneNumber: '11-959821612',
    navigatorKey: navigatorKey,
    inngageWebViewProperties: inngageWebViewProperties,
  );
  await InngageSDK.sendEvent(
    eventName: 'MyEvent',
    appToken: 'MyAppToken',
    identifier: 'user@gmail.com',
    registration: 'registration',
    eventValues: {
      'location': '12312312312',
    },
  );
  await InngageSDK.sendEvent(
    eventName: 'MyOtherEventWithoutEventValues',
    appToken: 'MyAppToken',
    identifier: 'user@gmail.com',
  );

Call subscribe() on a InngageSDK to request it.

Libraries

app_dialog
constants
event_request
exceptions
firbase_message
flutter_native_dialog
hexcolor
inapp_dialog
innapp_model
inngage_api
inngage_event
inngage_inapp
inngage_plugin
inngage_properties
inngage_sdk
inngage_web_view_properties_model
notification
notification_request
rich_content_model
subscription_request
utils