Skip to content
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

Download image from a non-secured (HTTP) results in PlatformException - 400 #47

Closed
Newbie012 opened this issue Sep 16, 2019 · 4 comments

Comments

@Newbie012
Copy link

Newbie012 commented Sep 16, 2019

I've noticed that when I try to download an image from a non-secured connection, I get a PlatformException (400), no matter if the domain/url exists or not.

In production, I'll have a secured connection in my backend, but in development, I use my localhost as the backend, and it's not https.

Any solutions?

@Newbie012
Copy link
Author

Hello?

@ko2ic
Copy link
Owner

ko2ic commented Sep 23, 2019

@Newbie012
If you are on ios, please check ATS(App Transport Security).

@Newbie012
Copy link
Author

@ko2ic I'm on Android

@ko2ic
Copy link
Owner

ko2ic commented Sep 24, 2019

If you are on Android9, please check https://stackoverflow.com/questions/51902629/how-to-allow-all-network-connection-types-http-and-https-in-android-9-pie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants