Skip to content

Missing proguard rules in README.md #15

@AdamGrzybkowski

Description

@AdamGrzybkowski

The library in the current state will not work when using proguard.

PhxMessage class member names are used to parse the response from WS.
The solution would be to add @SerializeName annotation, this way there is no need to add any additional proguard rules (apart from the ones for gson and okhhtp).

As for now you have to specify a rule like this
-keepclassmembernames class org.phoenixframework.PhxMessage { *; }

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