Something strange is going on when platform.resume is triggered.
After the iPhone app comes out of pause mode, the UI no longer updates properly. I do an http get in the platform.resume.subscription to refresh the data. I can see that this happens almost immediately and the data is in the store. However, the UI update is extremely slow or not at all.
I’ve been able to find a semi solution, but this one doesn’t always work either and feels hacky.
this.platform.resume.subscribe(() => this.ngZone.run(() => {
// my http get code and ngrx store dispatch
});
Does anyone have an idea how I can solve this better?