I'm trying to open a link in the default browser like this:
window.open("http://example.com", '_system');
But it is not working and is instead opened in the main webview window of the app. I noticed that when I remove
<allow-navigation href="http://example.com/*" />
from config.xml, then window.open works as expected and the default browser app is launched.
How can I achieve the same result but with keeping allow-navigation, perhaps adding an exception or?