having a problem with CORS and Meteor 1.3 Beta 12 on iOS and Android with i18n.
The Error is the following:
XMLHttpRequest cannot load https://app.soon.com/tap-i18n/de.json. Origin http://localhost:12392 is not allowed by Access-Control-Allow-Origin.
XMLHttpRequest cannot load https://app.soon.com/tap-i18n/de.json. The ‘Access-Control-Allow-Origin’ header has a value ‘http://meteor.local’ that is not equal to the supplied origin. Origin ‘http://localhost:12392’ is therefore not allowed access.
So both Apps can’t download the json from Server. I also have set App.accessRule(’*’); in mobile config but no luck.
Hope someone could help me with this problem. Btw. hosting is on Meteor Galaxy.
This is a known issue with
tap-i18n depends on.
I responded to an issue about this, and the solution is pretty simple, but I don’t think the poster has opened a pull request. So maybe I should do this myself:
Thanks for the reply, so i have to wait for the pull request or is there a work around?
I just made the changes and opened a pull request. But you’ll have to wait for the pull request to be merged and a new version of
cfs:http-methods to be released.
tap:i18n may also need to update its dependency. There is no workaround unfortunately.