Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1386·android-async-http

Support throwing `UnknownServiceException` if there is no cleartext traffic permitted

Author: GooolerCreated Aug 4, 2023Updated Aug 7, 2023

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()

Source: android-async-http/android-async-http

View original on GitHubView discussion on GitHub