Integration

User Identification

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

indigitall.link("externalID", CustomerChannel.PUSH, (success) => {
      // 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:

indigitall.unlink(CustomerChannel.PUSH, (success) => {
      // do something
    }, (error) => {
      // do something else
    })