and then execute below in constructor of app.components.js but it does not do anything. I also encapsulated in try catch but simply did not get anything
window.plugins.airwatch.username(this.theFunction, this.theFunction);