Window-resize and platform

#1

ionic3
i have no accurate platform-data on window-resize. is there a workaround?
in app.component i have:

@HostListener('window:resize', ['$event'])
public onResize(event) {
    // event.target.innerWidth != this.platform.width()
}
#2

ionic has an awesome community…
:frowning:
i found a solution, but i dont share it with you xD…