Integration

User identification

In order to get the notifications from Indigitall's Inbox, the user must identify himself. First you have to initialize the SDK of Indigitall so that it generates our identifier (deviceId) and be able to associate it to the custom ID that you associate to the device.

To perform the registration tasks, these two methods are used:

//User Identification
IndigitallFlutterPlugin.logIn("YOUR_ID",(device) => {
  //DO SOMETHING  
}, (error) => {
  //LOG IndigitallErrorModel 
});

IndigitallFlutterPlugin.logOut(device => {
  //DO SOMETHING  
}, (error) => {
  //LOG IndigitallErrorModel 
});

Generate authentication token

In this section you will see how to generate a validation token for an application that has configured authentication with webhook. To generate this token, you need to add the JSON with the configuration.

To do this, you will have to add a Map with the corresponding configuration in each Inbox call.