leakcanary
leakcanary copied to clipboard
SharkCLI: Read mapping.txt from APK
- Requires downloading the APK and unzipping it to extract mapping.txt
- Should be an option, off by default
Where should the APK be downloaded from? And how do we know there is a mapping file inside it?
The idea is to download the APK using adb pull. This should be off by default, and a flag would turn it on. Then we'd download the APK using adb pull, unzip it, and look for mapping.txt in the assets folder. If missing then the CLI would error out.
Should this be a separate command that extracts the mapping and saves it on disk or an additional flag that can be used with analyze command?
Probably more like a flag, though I could see both being useful.