Results 1 to 2 of 2

Thread: Critical issue with opening links

  1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    47
    Answers
    3

    Default Critical issue with opening links

    Hello,

    I am running into the same critical problem that others have run into with ST2 in the past (http://www.sencha.com/forum/showthread.php?203513, http://www.sencha.com/forum/showthread.php?192000). I say it's critical because it locks the user out of the ST app with no way of returning to it.

    I am using ST2.3 with Cmd/Cordova native packaging. The issue is that clicking on links causes the target page to load within the app with no way of returning to the app. This happens when the links are in externally loaded content (for example a link inside an email). For links that are part of the app, I can use inAppbrowser to open browser windows inside the app; if I want, I can also open links externally in Safari with window.open - these are fine for situations where I have control.

    But if I load external content, like an email, that has a link, then tapping on the link opens the link inside the app with no way of returning. Is there a solution or workaround for this? Seems like a critical flaw since it requires the user to kill the app and restart fresh. Am I missing something here?

    As always, I appreciate any help I can get. Thanks!


    Mohammad
    San Jose, CA

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102

    Default

    The cordova in app browser allows you to intercept (clobber) all href calls. I know because I saw it in the documentation many moons ago. We've used it a lot in the past.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •