I am using Crosswalk (
meter add crosswalk). An in general it seems pretty good.
However for opening external links I am getting inconsistent results.
For example, on Motorola/4.4.4, the Android SDK emulator (and iOS for that matter) a
window.open(link, '_system', 'location=no'); works fine.
However, on a Samsun Tab (SM-T30) with Android 5.0.2 and Lenova TAB with 4.4.2 the links won’t open. (sorry can’t seem to get debugger working with these live devices)… so cannot work out why this is the case.
Any ideas welcome?
Update: OK I connected my Samsung table cia USB to computer to debug it.
I changed the call to
window.open(encodeURI(link), '_system'); (so I droped the location=no for the 3rd param).
I actually got it to open the site in the app. IIt does not seem to want to use the
_system option as it open in the inAppBrowser.
I see the following issue in the console:
So this looks like some sort of cross domain issue (not sure of that’s the root cause)… anyway, I have this in my mobile-config.js :
I also have this BrowserPolicy:
Any help appreciated