Hi All.
I’m using ‘@ionic-native/network’ plugin for checking network connection.
My target platform is Android.
When the network goes disconnected, I change the navigation root, like this: this.nav.setRoot(NoInternetPage);
After network goes live, I’m changing the navigation root to page that contains ion-tabs, like this: this.nav.setRoot(TabsPage);
And the issue is that switching tabs after changing navigation root does not work on Android.
ionic info:
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v6.8.1
npm : 3.10.8
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Android\sdk
Misc:
backend : pro