Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

An issue using $state.go

$
0
0

@ordekci wrote:

Hi. I use $state.go for navigation between views. Before navigation, I control internet connectio like below:

if('window.isOnline()){
$cordovaToast.showLongCenter("No internet connection");
retun;
}
$state.href("xxx");

I also used var $ionicPlatform.registerBackButtonAction method in my app. My problem is that, when I route using $state.go to a view, registerBackButtonAction method does not work. I can not find what the problem or wrong thing is.
Can someone help about this?
Thank in advance.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



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