Ionic View iOS - NavController push not working


#1
if (this.order.type === 'home') {
  this.navCtrl.push(OrderSummaryTab, {
    order: this.order,
    view: 'order'
  }).then(
    response => {
      console.log('Response ' + response);
    },
    error => {
      console.log('Error: ' + error);
    }
  ).catch(exception => {
    console.log('Exception ' + exception);
  });
}

This works when using ‘serve’ on PC or ionic view on android but doesnt seem to work on iOS.

Ionic Info:
ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.4
Xcode version: Not installed

Any suggestions?


#2

Please define “not working” or “doesnt seem to work”. Does ‘nothing’ happen? Do you get an error message? Did you debug it via remote debugging? Does it work on simulator but not on real device or other way around? Both?


#3

I have only tested iOS via Ionic view so far, as I am Windows/Android. But I am meeting a friend tomorrow to remote debug using his iPhone, will post an update tomorrow.