When running a Meteor.js Cordova iOS app on the iPhone, some of the images in the app do not load and the XCode console shows the error
ERROR whitelist rejection: url='https://d2xngy2dw7hums.cloudfront.net.....
How can we add some/all domains to the whitelist?
App.accessRule('*'); // add this to your mobile-config.js
You will need to kill and rebuild your meteor project
meteor run ios-device
See related question for more details: In meteor app how to add orgin=* in cordova config.xml?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With