inngage_plugin 1.0.1 inngage_plugin: ^1.0.1 copied to clipboard
The inngage plugin to flutter apps.
inngage_plugin #
A flutter plugin for the Inngage SDK
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:1.0.0
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,
navigatorKey: navigatorKey,
inngageWebViewProperties: inngageWebViewProperties,
);
Call subscribe()
on a InngageSDK
to request it.