I have searched the forum on this topic and have seen previous threads - so I know the issue is there.
One response was very pure - saying that no refresh should be needed - just update the state and angular should take care of refreshing the page.
However, that doesn’t seem to be the case.
I have a problem (in a web view) with recognizing login state with firebase. On the initial loading - the user appears not to be logged in, and only after some time goes by (using subscribe) does the state change to logged in.
My html uses *ngIf to show the user the login state - either the user isn’t - and is a guest - or he/she is - and I should their name in the caption.
I am not getting any refresh of the page when the state changes - so I’d like to force the update - but that seems difficult.
I saw someone suggest re-navigating to home, but that feels wrong to me. I also saw someone suggest calling ionViewDidEnter() again - but again this doesn’t feel right.
Just thought I would ask again - since some of the previous answers were specific to earlier version of ionic…
Is there a simple way to request a refresh of the page?
thanks in advance! This is probably a naive question -