You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On click hardware back button in an specific view I get:
[INFO:CONSOLE(11706)] "[native transition] same state transition are not possible", source: file:///android_asset/www/bower_components/angular/angular.js (11706)
What is weird that if I click in the same view the ion-nav-buttons back button, works perfectly.
I have 3 view, the view what I'm talking about is view 2.
If I go from view 1 to view 2 and then click on hardware back button goes again to view 1 thats perfect.
The problem is if I go to view 2 from view 1, then I go to view 3 and after that I click back button (or ion-nav-bar) in view 3 I go back to view 2. There is the problem when I click only hardware back button on view 2 after go back from view 3.
View1 -> state.go(view2) -> View2 -> state.go(view3) -> View 3 -> state.go(view2) -> View 2 state.go(view1) with hardware back button -> "[native transition] same state transition are not possible"❌
On click hardware back button in an specific view I get:
What is weird that if I click in the same view the ion-nav-buttons back button, works perfectly.
I have 3 view, the view what I'm talking about is view 2.
If I go from view 1 to view 2 and then click on hardware back button goes again to view 1 thats perfect.
The problem is if I go to view 2 from view 1, then I go to view 3 and after that I click back button (or ion-nav-bar) in view 3 I go back to view 2. There is the problem when I click only hardware back button on view 2 after go back from view 3.
To sum up:
View1 -> state.go(view2) -> View2 -> state.go(view1) -> View 1✔
View1 -> state.go(view2) -> View2 -> state.go(view3) -> View 3 -> state.go(view2) -> View 2 state.go(view1) with hardware back button -> "[native transition] same state transition are not possible"❌
This is my code:
HTML
CONTROLLER:
MODULE
Another thing: if I set in my module:
Hard back button and ion-nav-buttons works perfectly. Sound weird?
Also, you can see a few logs there, well, on click hardware back button neither of them was called. Just when I click on ion-nav-buttons
Please, Someone can help me? I need to solve the problem ASAP.
EDIT: On hardware back button click, the state to go is the current state, so the script is not taking into account the new state that I'm sending.
Thanks
The text was updated successfully, but these errors were encountered: