For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 12 replies, 4 voices, and was last updated 11 years, 6 months ago by
support-octavio.
-
AuthorPosts
-
trajaMemberDear Support team,
I’m developing the corporate app which calls the web URL (ex: policy.com). When the URL gets called, its opening the safari in the iPhone instead of showing the browser within the app window itself. Can you please guide me how to achieve this? Thanks
RT
March 7, 2012 at 12:20 pm #324057
support-michaelKeymasterThis is a known issue for the GotoURL action implementation in native apps. We are developing a consistent solution that works for both webapp and native apps. It looks like that solution will be a couple of weeks away. It is going to miss our upcoming 1.5 release planned for early next week. So I expect it sometime thereafter.
March 7, 2012 at 2:44 pm #324064
trajaMemberThat’s nice to know it will be fixed. What if I have URL on OnLoad Javascript? Will that also be fixed during the next version?
Can you please update this thread once its fixed? Thanks again.
RT
March 7, 2012 at 3:23 pm #324066
support-michaelKeymaster>What if I have URL on OnLoad Javascript?
Can you explain in more detail? Do you want to programmatically nav to the site?
March 7, 2012 at 5:21 pm #324074
trajaMemberYes, one of the requirement is to navigate to some URL as soon as the user clicks on the App. That will be via programming. But the website should be shown inside the App and not via safari. Will the current Mobione version supports this? If yes, can u please guide me how to achieve this?
RT
March 8, 2012 at 8:24 pm #324126
trajaMemberSupport team,
Can you please answer below question? Thanks
Yes, one of the requirement is to navigate to some URL as soon as the user clicks on the App. That will be via programming. But the website should be shown inside the App and not via safari. Will the current Mobione version supports this? If yes, can u please guide me how to achieve this?
RT
March 9, 2012 at 5:45 am #324138
support-michaelKeymaster> one of the requirement is to navigate to some URL as soon as the user clicks on the App. That will be via programming. But the website should be shown inside the App and not via safari. Will the current Mobione version supports this?
Yes & no.
Yes you can programmatically nav to a new URL once the app starts once the api is avail (see ‘no’ below). Do you expect any of the mobione app’s UI to be visible at any time during the start process?No, for native app. The api to open embedded page is not available. Also the mechanism we have been planning when opening URLs is to present them in a pop style browser similar to how some apps such as twitter present remote content.
This leads me to ask are you wanting a native remote site launcher? Effectively the equivalent of a native installation of a web shortcut? Do you plan to distribute such an app via the appstore? If yes, stop now as you’ll never get it approved. If no, then I assume you are developing an enterprise app or an app for a small set of devices that you maintain… just curious?
March 9, 2012 at 7:50 pm #324158
trajaMemberDo you expect any of the mobione app’s UI to be visible at any time during the start process?
No.
This leads me to ask are you wanting a native remote site launcher? Effectively the equivalent of a native installation of a web shortcut? Do you plan to distribute such an app via the appstore? If yes, stop now as you’ll never get it approved. If no, then I assume you are developing an enterprise app or an app for a small set of devices that you maintain… just curious?
Yes, I’m trying to launch the remote website and it’s an enterprise app.
Can I achieve this via iFrames? Thanks for your support.
RT
March 12, 2012 at 9:11 am #324198
support-michaelKeymaster>Can I achieve this via iFrames?
In general <iframe> is a nogo on mobile safari devices. There are issues with scrolling, event propogation to the embedded page, frame sizing, …
Thinking about other approach. Basically your app is an immediate redirect to a site.
April 9, 2012 at 10:42 am #325068
trajaMemberWayne,
Can you please tell me when can I expect the feature to display the web content inside the app?
Note: This is not via the GotoURL option.
RT
April 9, 2012 at 11:02 am #325069
support-michaelKeymasterUnfortunately we are all blocked until Apple chooses to implement <iframe> correctly across devices. I am not holding my breath for this fix anytime soon as the rumor is that apple hates iframe – I hope this is wrong. For now there is not a solution for embedding content from another site into your iOS app/webapp. Your solutions are to open remote content in a new window or nav to the remote content via GotoURL action.
April 8, 2014 at 12:10 am #348637
flptuonMemberWayne,
Do you have news about this issue? Embedding a webpage in the app without opening safari.
April 8, 2014 at 5:12 pm #348661
support-octavioMemberHi flptuon,
In general this is a mobile platform issue and requires apple to address it. Your options are as previously stated to open remote content in a popup browser via the gotoURL action. Alternatively you download html fragments using ajax and inject them into the DOM. But you have to implement this manually. Your mileage will vary as the content must be a page fragment (i.e., the content that lives between the <body></body> tags) and the content will be exposed to the MobiOne app’s css. Thus it may style out very oddly.
-
AuthorPosts