I know this is an old question, but I came across it too and just wrote a small plugin to help with it. The answer to Siddhartha is almost right, but when I used it, it intercepted all web requests, including my index.html , and that seems to have moved my application to Safari. I needed a way to handle only explicit requests, so I could open certain (external) URLs in Safari.
There are many similar questions about Phonegap, which seems to insert special handling for window.open with _system . That would be nice, but Cordoba has no such function.
In the end, I wrote a small plugin that embeds enough Objective-C (closely modeled by Siddhartha's answer), but due to the magic of the plugins, it can be executed on demand using cordova.exec . I would like this to be fixed in window.open to achieve the same functionality as Phonegap, but this will be for another day, and this does not affect this answer.
As far as I can tell, in modern Cordoba this is the only viable strategy.
source share