Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Must set App Transport Security Allow Arbitrary Loads to Yes #34

@lucamegh

Description

@lucamegh

I'm trying to get a favicon like this FavIcon.downloadPreferred("https://theverge.com", width: 128, height: 128). The request always fails with "noIconsDetected" as I get this iOS error:

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

Enabling arbitrary loads solves the issue but that can lead to security issues. For some reason the library turns my HTTPS urls into HTTPs. Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions