I had this working in Worklight 5, but I don't seem to be able to get it to work in V6.
I'm trying to use the Cordova InAppBrowser in my Worklight app on BlackBerry 10. My code is simple enough:
window.open(link, "_blank", "location=no");
This works on Android an iOS, but when I I run it on the Blackberry 10 simulator, I get the following error in the console log:
POST http://localhost:8472/org.apache.cordova/isWhitelisted 404 (OK)
config.xml for my app includes:
<access subdomains="true" uri="*" />
so all links should be whitelisted, but the 404 seems to be for the API call to check whether the link is whitelisted, not for the call to open the link.
If I muck with cordova.js to remove the whitelist check from the implementation of open(), the InAppBrowser suddenly works fine, but that file gets overwritten each time I build the app, so customizing it isn't an option.
Am I missing some configuration needed to make this work?