-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access-Control-Allow-Origin #4
Comments
Hi @olaferlandsen, This is a CORS problem in development. In development I use the chrome extension Allow-Control-Allow-Origin: * and configure maps.googleapis.com in the URL patterns. |
I know it, but why you don't use jsonp??? |
Thanks @olaferlandsen, I will search and try change to jsonp if better. |
Hi Adriano, I installed the chrome extension but I get the same error. How did you configured it? Thanks, |
Hi @acittar, |
`cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc:
|
I solved the issue by adding another extension ie. https://chrome.google.com/webstore/detail/cors-goggle/jioikioepegflmdnbocfhgmpmopmjkim/related?hl=en The one you referred did not help |
Hi Adriano, sorry, I still have this problem in my production environment. Do you have any idea about how can I fix it? Thanks, |
This shouldn't be an issue on mobile app. As CORS issue is not relevant to mobile apps |
Sure, but what if a user accesses my app via browser? |
Hi Adriano, do you have any news on this? The plugin works perfectly for Android/iOS app (I didn't try but I think so), but it doesn't work at all for PWA. I deployed my PWA on heroku and it doesn't work if my chrome plugin is disabled. Thanks a lot, |
Hi @acittar , I don't use as PWA. I think that is a server configuration. How is your server configured? You can try this: |
Hi Adriano, Tried a lot of configurations to allow CORS but without success. Are you going to switch to jsonp in the next future? It should solve the issue even in local env. Thanks, |
I am still getting the CORS issue in production mode also in my ionic application. |
Hi Adriano,
This "work" but with this error:
Have you idea if it still work?
The text was updated successfully, but these errors were encountered: