Redirecting back to "localhost" for natively compiled sencha touch app
In a nutshell... for authentication that navigates away to a site and then return via a "return_uri" parameter what do you use for natively compiled web apps? (if even possible).
I've been using google app engine for authentication of my sencha touch app and it all works perfectly when running on localhost as well as via my online server in production. However when I compile it to a native version I am stumped at how to "redirect back" to my native app index.html when they log in.
I have tried a custom url scheme (myapp://return etc) but it is not "redirected" back to from the remote server. I've tried having the "thankyou" page at the end include a scheme link to the native app for people to click but that quits the application. Now i'm stumbling around hoping to get an iframe solution to work, listening to the page load event (but iframes seem to be a bit dodgy).
Google, oauth2, facebook, twitter - they all seem to require a "return to" url - so have no idea how people are doing this for sencha native apps?
Any help would be much appreciated