i have the issue that observable doesnt trigger UI refresh. But this behaviur is only if im not use the standard browser(ionic serve).
Following Examples:
Works with workaround ngzone-run:
export class HomePage extends SubscribeAndGuard
{
public taskProcessTypeCode: typeof TaskProcessTypeCode = TaskProcessTypeCode;
public isOnline: boolean;
constructor(
public navCtrl: NavController,
public navParams: NavParams,
private translateService: TranslateService,
private _store: Store<States>,
private appActions: AppActions,
private ngZone: NgZone
)
{
super();
this._store.select(state => state.appState.isOnline).subscribe(online => this.ngZone.run(() => this.isOnline = online));
}
Just follow any official sample project for ngrx if that’s where your Store injector is coming from. Edit to add: I will say, you might be causing yourself problems by using super(). The first thing I would do if I had that problem would be to refactor the code so I didn’t use super() anywhere.
It’s hard to believe that you want help if you don’t include the name of the plugin in the title, in your OP, or in any subsequent post. Also, I think it’s likely that you do not understand what effect Angular page inheritance has on your project.
im sry. No im relative new to ionic. Can you say me please what you need? I also tried it with following Code but same result in platform browser & android