Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img is a dead end #94

Open
purplecabbage opened this issue Apr 19, 2014 · 3 comments
Open

img is a dead end #94

purplecabbage opened this issue Apr 19, 2014 · 3 comments
Labels
Milestone

Comments

@purplecabbage
Copy link
Member

If for some reason, the PhoneGap app redirects itself to an image, there is no way for the phonegap-connect to inject it's multi-tap back behaviour, so effectively the user is stuck and must force-quit the app and restart it.

I observed this on iOS. Seems to me, the only way around this is to have some native portions that are available regardless of what is inside the app.

This might seem like an unlikely event, but any javascript error can potentially also break this functionality if javascript stops executing.

@jcesarmobile
Copy link

maybe with a native gesture? like UIScreenEdgePanGestureRecognizer (ios 7 only)

@purplecabbage
Copy link
Member Author

Yes, it would have to be a function of the native container, thus implemented differently on each device.

@mwbrooks
Copy link
Collaborator

Sorry about the slow response @purplecabbage

The issue is totally legit and a result of our initial design. We opt'd for a simple implementation that we could ship early. Once WP8 is supported, we'll be switch to a native implementation to fix a few known issues:

  • navigating to non-HTML assets loses the navigation
  • navigating to websites not served by connect-phonegap loses navigation

There is a high chance that we'll be dropping the hidden gestures all together in favour of a moveable native modal control.

I'll leave this issue open for now as a reminder of what's to come!

@mwbrooks mwbrooks added the bug label Apr 23, 2014
@mwbrooks mwbrooks added this to the Cordova 3.5.0 milestone May 13, 2014
@mwbrooks mwbrooks removed this from the Cordova 3.5.0 milestone May 27, 2014
@brianleroux brianleroux added this to the 4.0.0 milestone Jun 20, 2014
@mwbrooks mwbrooks modified the milestone: 4.0.0 Jun 23, 2015
@mwbrooks mwbrooks modified the milestone: Backlog Sep 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants