opening links in Safari

5 posts, 1 answers
  1. Rowan
    Rowan avatar
    6 posts
    Member since:
    Sep 2013

    Posted 18 Oct 2013 Link to this post

    Hey Guys, 

    I am working on an application for my school but I have come across a problem. I believe it should be an easy fix but I just don't know how to do it! I have set up some images that are wrapped inside an <a> tag, so that they will link to the desired page. However I am hoping that you guys could assist me as I would like the links to open in a safari window, or even better (if possible) an in app viewer such as the ones on facebook/twitter. 


    Thanks for the help! 


    Rowan,
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 21 Oct 2013 Link to this post

    Hi Rowan,

    It sounds like Cordova's InAppBrowser would do the job for you. You can specify as second argument the target, which when _blank would open the InAppBrowser, if _system - opens the system's web browser (Safari on iOS).

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Rowan
    Rowan avatar
    6 posts
    Member since:
    Sep 2013

    Posted 21 Oct 2013 Link to this post

    Thankyou so much Steve! The in app browser works flawlessly ! 


  4. David
    David avatar
    2 posts
    Member since:
    May 2013

    Posted 10 Sep 2015 Link to this post

    Hi All,

     i am facing one url redirecting issue. i need to show the face book, twitter and linked url to show on browser. in android OS all are ok. but in IOS companion app facebook link is not redirecting to browser when facebook app installed on that device. but also twitter and linked in app installed even my redirect link is opening in to browser. facebook url only issue.

    i am satisfied if IOS facebook app shows what i m looking for. but my app just open the facebook app and not reach my url point. 

    i don't want open any link inside my app. only browser. Please suggest feeling sad.

    this is what my code  window.open(link, '_system');

    Thanks

     

  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 14 Sep 2015 Link to this post

    Hello,

    You can find what I already answered in the support thread opened on the same question so that it can also be helpful for the community:
    Testing window.open() call on the iOS companion app works just as expected on my side, it opens the link in a system browser and not the installed facebook app.

    Would it be possible for you to isolate the exact setup you have in a simple project and send it back to me so that I can research the case further? In order to avoid any misunderstanding, may I ask you to also share the steps you perform to observe the problematic behavior?

    As a side note, you can check the Facebook Cordova Plugin in case it can be helpful for you.

    Regards,
    Dimitrina
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top