facebook

Web in App

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #324054 Reply

    traja
    Member

    Dear 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

    #324057

    support-michael
    Keymaster

    @traja

    This 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.

    #324064

    traja
    Member

    That’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

    #324066

    support-michael
    Keymaster

    @traja

    >What if I have URL on OnLoad Javascript?

    Can you explain in more detail? Do you want to programmatically nav to the site?

    #324074

    traja
    Member

    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

    #324126

    traja
    Member

    Support 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

    #324138

    support-michael
    Keymaster

    @traja

    > 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?

    #324158

    traja
    Member

    Do 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

    #324198

    support-michael
    Keymaster

    >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.

    #325068

    traja
    Member

    Wayne,

    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

    #325069

    support-michael
    Keymaster

    @traja

    Unfortunately 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.

    #348637

    flptuon
    Member

    Wayne,

    Do you have news about this issue? Embedding a webpage in the app without opening safari.

    #348661

    Hi 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.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: Web in App

You must be logged in to post in the forum log in