Unanswered: Problem with external pages in app - Search for many hours
Unanswered: Problem with external pages in app - Search for many hours
Hello, I built a webapp, and for links to any external pages, I have them open in a new window, which works great. When I packaged it as an app and tested it on my ipod touch, it does not open in a new window. It opens the external page right in the app. In doing so, there is no way to go back to the actual app. The header with navigation is gone.
What I would like to do is have my header stay and have the external page load under the header. I searched for hours and have not found a good solution. Some solutions were to use iframes, but that does not work well at all, because you cannot scroll the page. Other solutions were to use Ajax.Request, but that only works for pages on the same domain. I need external pages on other domains to load in. For instance, Google Maps, Facebook, Twitter, YouTube, Google +, pages on our main site, etc...
It's up to the native packager to allow opening links in the native browser.
And you are correct, you will loose interactions like scroll if you use an iframe. I have seen some people add an iframe to the document.body and size Ext.Viewport to a small height. I haven't seen if that allows for scrolling though.
I was looking in the App Gallery and found an App Store app that shows a list of social media sites. You click one of them and the social media site slides up and so does a bar with a Done button. When you click the Done button the social media and bar slide back down and you see the list again. Since that was done with Sencha Touch, somebody has to have an answer to how to do this. Do you have any idea?
What do you mean by, It's up to the native packager to allow opening links in the native browser. Is this a setting you can make in the native packager?