Don’t do reload(), it messes things up down the road like sqlite plugin and possibly other internal states outside the webview
If there is a problem with change detection by angular (which may also indicate a design issue), wrap your stuff in a zone so angular knows what to monitor.
this.navCtrl.setRoot(this.navCtrl.getActive().component); is work fine in android but not working on IOS for me. when we use for IOS app is going to Crashed .
Please Help
import {Content} from 'ionic-angular';
@Component({
....
})
export default class HomePage extends Component{
@ViewChild(Content) content:Content;
//binded for any event (click,onChange ...)
updateContent(){
//recalculate everything on current page;
this.content.resize();
}
}
but the problem is it doesn’t detect the changes all the time. For example, I am publishing en event in some page in my app and I already subscribed to this event in my home page. When the event happens home page needs to change little bit but when I go to home page after the event happened I saw that It is the same??