opening external link not working properly with phonegap 2.4

3 posts, 0 answers
  1. NathanMST
    NathanMST avatar
    10 posts
    Member since:
    Jan 2013

    Posted 03 Apr 2013 Link to this post

    This simple link using kendo ui mobile:

    <a data-role="button" data-rel="external" href="http://www.myspiritualtoolkit.com" target="_blank">Visit www.MySpiritualToolkit.com</a>

    was opening the link within the webview on my ios device instead of opening a new separate instance of Safari to display the link.

    After I changed the project in icenium to go back to using phonegap 2.2 instead of 2.4 it worked correctly.  After two hours of losing my mind :-)
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Apr 2013 Link to this post

    Hello Nathan,

    Indeed it seems this behavior was changed in Cordova, but strangely we cannot find any information on it. Still you can use window.open with _system as second argument as shown here.

    Kind regards,
    Steve
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Kendo UI Dojo.
  3. NathanMST
    NathanMST avatar
    10 posts
    Member since:
    Jan 2013

    Posted 04 Apr 2013 Link to this post

    Cool, thanks I will switch my project back to using Cordova 2.4 and use the window.open method...

    Thanks for the quick response!

    I just tested and so far so good.  I'll keep my eyes out for any more quirkiness with 2.4
Back to Top