meteoric / meteor-ionic

Ionic components for Meteor. No Angular!
http://meteoric.github.io
MIT License
1.51k stars 219 forks source link

Can't open external url #270

Closed sweetticket closed 9 years ago

sweetticket commented 9 years ago

I'm trying to redirect to an external url dynamically using jquery. I've tried the following but none of them work:

window.open(my_url, '_blank');
window.open(my_url, '_blank', 'location=yes');
window.open(my_url, '_system');

In Xcode I'm getting the error "whitelist rejection." I looked it up and found that i might need to add my_url to an array called ExternalHosts in a cordova plist file, but I'm not sure where this belongs in the meteor-ionic set-up.

gwendall commented 9 years ago

See here.