Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70759

Navigation controller fails after upgrade to 3

$
0
0

@mtsecurit wrote:

I am trying to upgrade to ionic 3 from 2.
It has taken some time but I now have the app running on my phone. The initial page is a pin input page then the user is sent to the home page using setRoot thus

this.navCtrl.setRoot(OtpPage, null, {
       animate: false
});

This piece of code just does not function. No action is taken when it is run. I tried with and without animation. This works fine in Ionic 2.

The only error in the logs points to this line in main.js

    console.error.apply(console, values);

Which does not help much.
Any idea what I can do? This is found when running

ionic cordova run android --device

This is my info output

cli packages: (D:\tb-mob300\tb-mobile\node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 1.3.7
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.2.1

System:

    Android SDK Tools : 26.0.2
    Node              : v6.12.2
    npm               : 3.10.10
    OS                : Windows 10

Environment Variables:

    ANDROID_HOME : C:\Users\mart\AppData\Local\Android\sdk

Misc:

    backend : legacy

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>