In phonegap application for iOS I'm trying to open Sygic navigation app in javascript by it's custom schema URL. Everything works for native iOS navigation, Google Maps, Waze.... but not for Sygic! It's very strange because direct link tapped by user works:
<a href="com.sygic.aura://coordinate|16.6784149|48.8759607|drive">
In Javascript all these doesn't works:
window.location = 'com.sygic.aura://coordinate|16.6784149|48.8759607|drive';
window.open('com.sygic.aura://coordinate|16.6784149|48.8759607|drive', '_system');
window.open('com.sygic.aura://coordinate|16.6784149|48.8759607|drive', '_blank', 'location=yes');
var t = escape('com.sygic.aura://coordinate|16.6784149|48.8759607|drive');
window.location.href = t;
One of suspect was pipe "|" in url. After escaping url still not working... WHY IT WORKS FOR FOR EVERYTHING ELSE BUT NOT FOR "com.sygic.aura" ?