Im trying to do a test to see if i can connect a mobile app with my rest server.So basically i will use meteor only as front end and my laravel server as backend,i have enabled cors in my server tested in browser and works fine but when im building for android and run the app i get
XMLHttpRequest cannot load http://myurl.com. Origin http://meteor.local is not allowed by Access-Control-Allow-Origin. at null:1
I have set
App.accessRule("*"); and i build the app with
meteor build ~/ --server=something(something because i didnt add any url as im gonna use meteor only as frontend.
what im doing wrong???