glide
glide copied to clipboard
Why does glide use the read contact permission code?
In glide 4.12.0, it is detected that the SDK uses the permission code to read contacts. Can you remove the permission code?
The contacturi sample uses this permission, but it's not declared elsewhere.
If you pass in a contact uri, Glide will use contact APIs to read them: https://github.com/bumptech/glide/blob/dbdae568a37e9aabdab4ceb0ab9c7294de53861d/library/src/main/java/com/bumptech/glide/load/data/StreamLocalUriFetcher.java#L59. If the app has already obtained the contacts permissions it'll work, if not it'll fail.
contacturi 示例使用此权限,但未在其他地方声明。
如果您传入联系人 uri,Glide 将使用联系人 API 来读取它们:
https://github.com/bumptech/glide/blob/dbdae568a37e9aabdab4ceb0ab9c7294de53861d/library/src/main/java/com/bumptech/glide/load/data/StreamLocalUriFetcher.java#L59
. 如果应用程序已经获得了通讯录权限,它就会工作,否则就会失败。
I would like to ask, which package can remove this code ? otherwise it will still be detected that it has the permission to read contacts
contacturi 示例使用此权限,但未在其他地方声明。 如果您传入联系人 uri,Glide 将使用联系人 API 来读取它们: https://github.com/bumptech/glide/blob/dbdae568a37e9aabdab4ceb0ab9c7294de53861d/library/src/main/java/com/bumptech/glide/load/data/StreamLocalUriFetcher.java#L59
. 如果应用程序已经获得了通讯录权限,它就会工作,否则就会失败。
I would like to ask, which package can remove this code ? otherwise it will still be detected that it has the permission to read contacts
你好,有解决了吗?最近我们也遇到这个问题。平台检测Glide 不通过