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

No options to load unsecure images #257

Closed
SalahAwadi91 opened this issue Aug 4, 2020 · 4 comments
Closed

No options to load unsecure images #257

SalahAwadi91 opened this issue Aug 4, 2020 · 4 comments

Comments

@SalahAwadi91
Copy link

i cannot load images with unsecured url !!!!!!

@VaslD
Copy link

VaslD commented Oct 1, 2020

Did you enable/add App Transport Security (ATS) exceptions? AFAIK, Apple bans insecure connections by default, unless URLs are added to ATS exceptions or app has ATS disabled. You will receive warnings in Console during debugging. I don't think Lightbox itself controls this behavior.

Check this documentation for ATS-related declarations in Info.plist.

As suggested by the linked guide and as a best practice, you should always try to improve server-side security by adding HTTPS support first. Lowering app security should be a last resort.

@3lvis
Copy link
Collaborator

3lvis commented Oct 2, 2020

Thank you so much for answering this question @VaslD !

@3lvis
Copy link
Collaborator

3lvis commented Oct 2, 2020

The answer is correct, I'll close this issue.

@3lvis 3lvis closed this as completed Oct 2, 2020
@SalahAwadi91
Copy link
Author

Yes, it's working now, thank you

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

3 participants