Ionic Native: deviceready did not fire within 5000ms

Okay, after searching a little for dom tree completion in Angular, I’ve now moved my function calls to ngAfterViewInit which seems to have done the trick - don’t know if this is best practice, or if theres a better way to do this.