I am currently working with the cordova AppCenter Shared plugin within my Ionic4 app and encountering an issue. Although I am able to retrieve the ID in the console, I am struggling to assign it to a public variable. Any suggestions on how to resolve this?
System Overview: Angular 6
public uniqueDeviceId: string = '';
this._window.AppCenter.getInstallId(function(success, error) {
console.log(success);
this.uniqueDeviceId = success;
});