Integration

User Identification

First you have to link the account with a channel (inApp, push or chat):

var linkParams = {"externaId": "YOUR_EXTERNAL_ID", "channel": "push"};

IndigitallFlutterPlugin.link(
    linkParams,
    () => {
            // Do something
        },
    (error) => {
            // Do something else
        });

On the other hand, if you want to unlink the Customer's account, you have to do the following:

var unlinkParams = {"channel": "push"};

IndigitallFlutterPlugin.unlink(
    linkParams,
    () => {
            // Do something
        },
    (error) => {
            // Do something else
        });