-
Notifications
You must be signed in to change notification settings - Fork 137
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
CORS problem in Android device #228
Comments
I experience a similar problem. |
Hello, |
As far as I know the only solution might be the following: |
uff, it is a so big limit, because it isn't my server where are stored the images... |
am using aws s3 bucket it worked on ios perfectly now but on android i dont receive any errors but the images never shown please if its a cors thing can u change the code to use |
I'm using AWS S3 bucket and was facing the same CORS problem when I updated the ionic cordova webview to V2+. |
@pcsantana I'm using my own server, what should I do? It's two days that I'm searching but didn't make it yet. I think the plugin needs some debugging on ionic4 |
Hi @khsed14 sorry for delay! I did not tried yet this plugin with ionic 4, but you should implement a CORS filter in your backend. (e.g. in Java). Also, ionic team makes some considerations here. This plugin has too a branch for Ionic v4. You can try to use it: https://github.com/zyra/ionic-image-loader/tree/v4 Holpe it helps! |
iam facing the similar issue on device but also facing CORS issue with firebase ? any solutions |
I‘m facing this issue with iOS and CloudFront in combination with S3... Anyone else having this problem or did solve it? EDIT: Seems to be my own fault. As described on #277 the cache cleaning is not working for me so I deleted the folders manually. This seems to break down the plugin and causes CORS issues. If I reinstall the App, everything is working fine again til I delete the folders again :) |
Hi,
I am trying to use this plugin to download and cache some images (each and every image is showned every second, as a forecast map). In my web browser Chrome works perfectly, but when I install the app on a real android device I could see trought logcat I am getting CORS blocking
Access to XMLHttpRequest at '<MY_URL_TO_THE_IMAGE>' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Some help?
Thanks
The text was updated successfully, but these errors were encountered: