This is a migrated thread and some comments may be shown as answers.

opening links in Safari

4 Answers 117 Views
AppBuilder companion app
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rowan
Top achievements
Rank 1
Rowan asked on 19 Oct 2013, 04:39 AM
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,

4 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 21 Oct 2013, 11:38 AM
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.
0
Rowan
Top achievements
Rank 1
answered on 22 Oct 2013, 12:18 AM
Thankyou so much Steve! The in app browser works flawlessly ! 


0
David
Top achievements
Rank 1
answered on 10 Sep 2015, 07:11 AM

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

 

0
Dimitrina
Telerik team
answered on 14 Sep 2015, 09:09 AM
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.

 
Tags
AppBuilder companion app
Asked by
Rowan
Top achievements
Rank 1
Answers by
Steve
Telerik team
Rowan
Top achievements
Rank 1
David
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or