Skip to content

Support throwing UnknownServiceException if there is no cleartext traffic permitted #1386

Open
@Goooler

Description

@Goooler

If there is no cleartext traffic permitted, we should throw UnknownServiceException, like OkHttp did, more info see https://developer.android.com/reference/android/security/NetworkSecurityPolicy#isCleartextTrafficPermitted()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions