LuckSiege / PictureSelector

Picture Selector Library for Android or 图片选择器
Apache License 2.0
13.27k stars 3k forks source link

添加混淆忽略后, 部分图片无法加载出来 #2892

Open manitozhang opened 4 months ago

manitozhang commented 4 months ago

Current use version?

当前使用的版本是多少?

V3.11.2

Will this problem occur in demo?

Demo能否复现这问题?

不能

Describe the problem or provide an error log?

描述问题或提供错误log?

release开启混淆后,部分图片无法加载, 
![image](https://github.com/LuckSiege/PictureSelector/assets/35214125/74e6b4c5-5352-4f97-8b70-4aa4c0d747ff)
![image](https://github.com/LuckSiege/PictureSelector/assets/35214125/d35431b5-a565-4b62-88a7-6eb8b54da0e1)

已添加混淆忽略 -keep class com.luck.picture.lib.* { ; }

use Camerax

-keep class com.luck.lib.camerax.* { ; }

use uCrop

https://github.com/Yalantis/uCrop

-dontwarn com.yalantis.ucrop -keep class com.yalantis.ucrop { *; } -keep interface com.yalantis.ucrop* { ; }