Integration

User Identification

First you have to link the account with the Push channel to obtain a customerId.

Com.Indigitall.Xamarin.iOS.IndigitallCustomer customer = new Com.Indigitall.Xamarin.iOS.IndigitallCustomer();

customer.Link("YOUR_EXTERNAL_ID", Com.Indigitall.Xamarin.Models.Channel.push, () =>
{
    // Do something
}, (code, message) =>
{
    // Do something else
});

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

customer.Unlink(Com.Indigitall.Xamarin.Models.Channel.push, () =>
{
    // Do something
}, (code, message) =>
{
    // Do something else
});