-
-
Notifications
You must be signed in to change notification settings - Fork 511
Closed
Description
While using CCP library i ran into following issue related to current keep.xm config
- When any consuming app creates it's own keep.xml file the one from library will be overridden this is actually mistake that is quite easy to make when following official guides which suggest such name : https://developer.android.com/studio/build/shrink-code and caused some crashes for me on some of the languages - the keep.xml could be renamed.
- The rules included in the keep.xml include pretty much every raw file in consumer app. So once this library is included all raw files are kept (reproduced in sample: https://github.com/freszu/CCPKeepBug/) , so the rule should be narrowed down. Maybe it's a good idea to start each translation file with some prefix as a quick win.
Results from apk analyzer:
Without code picker dependency:

With code picker dependency:

hbb20
Metadata
Metadata
Assignees
Labels
No labels