Skip to content

Proguard issues #117

@acarlsen

Description

@acarlsen

Thank you so much for creating this library. Works great for me.

I did have some issues with it working initially because I use Proguard for my application.
I had to add the following exclusion rules for it to work on Windows and Linux:

-keep class com.kdroid.composetray.** { *; }
-keep class StdCallCallback { *; }
-keep class WindowsNativeTray { *; }
-keep class WindowsNativeTrayLibrary { *; }
-keep class WindowsNativeTrayMenuItem { *; }

That is fine, but because the last 4 files does not have namespace defined, they had to be added explicitly and was not catched by the com.kdroid.composetray exclusion, which took me a while to figure out, perhaps that can be improved, so they are in the proper namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions