Skip to content

Support for Android adaptive icons? #91

Description

@Klowner

Greetings! Thank you for all the very excellent work on this library!

Just curious if there are plans to add support for Android adaptive icons. If not, I would be happy to open a PR.

When parsing an APK with app-info-parser v1.1.2, the icon returned in the results is an ic_launcher.xml file. It is simple enough to parse that binary XML file to obtain the relevant foreground, background, or monochrome drawables (typically PNGs).

If support is desirable, would it make sense to extract the individual maximally sized icons (similar to findApkIconPath()) for each category (background, foreground, monochrome) so the user could potentially take further action? This would likely necessitate a change in the structure for the parsed result object, unless only the foreground image were returned?

Any input is appreciated!

-Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions