MobileChromeApps / chrome-app-developer-tool

Mirror of Apache Cordova app harness
Other
202 stars 33 forks source link

hitting the back button leaves the app #10

Closed devoncarew closed 10 years ago

devoncarew commented 10 years ago

Not sure if this is related to https://github.com/MobileChromeApps/chrome-app-developer-tool/issues/7, but I leave the app much more frequently then I intend. Repro steps

I expect to be back at the app dev tool's launch screen, not completely out of the app

mmocny commented 10 years ago

Good suggestion. Back button on android by default exits app.

We can change the default to go to menu, but the app itself may override the back button behaviour so we should make sure we don't take priority.

There's another issue in the current release that's already resolved: if you hit home button and launch harness again by using icon (not app switcher), it will restart instead of resume.

devoncarew commented 10 years ago

I do see it working if I hit home and then re-enter the app. I can still deploy new apps to it.

I still see the issue with the back button:

I think this is a bigger UX issue, as it's very easy for users to get themselves into this situation, and there's no clear remedy for it. The user will have to know to go into the settings > apps panel and kill the app dev tool process.

mmocny commented 10 years ago

Yes we discovered that the original fix introduced a new problem, and that a new fixes isn't quite working perfect.

However the workaround is easier, just close the app by swiping it away from task switcher and start it again.

Still investigating a proper fix.

devoncarew commented 10 years ago

Ah, cool, I didn't know about swipe to close in the task switcher.

mmocny commented 10 years ago

Looks like I may have a fix. Will release 0.6.1 shortly after I confirm.

mmocny commented 10 years ago

Should be fixed in 0.7.0