ViewController.dismiss closes parent page on android phone


#1

In my app, I have an item page, which contains an edit-item modal. After editing an item in the modal, the modal is closed by calling this.viewController.dismiss() as described in API docs.

On ios it works well, closes only the modal and stay on the item page as expected, but on android both the modal and item page get closed.

In my tests this issue only occurs on my android phone, it’s OK on android simulators too. It’s really weird. Anybody has a similar issue? HELP!

My env. android 6, ionic 2 rc2.

Thx