Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make enums serialised #23

Open
teogor opened this issue Apr 24, 2021 · 2 comments
Open

Make enums serialised #23

teogor opened this issue Apr 24, 2021 · 2 comments
Assignees
Labels
@bug Something isn't working @priority-medium

Comments

@teogor
Copy link
Member

teogor commented Apr 24, 2021

Description: Enums are not kept with proguard active

To help us triage faster, please check to make sure you are using the latest version of the library.
We also happily accept pull requests.
@teogor teogor added @bug Something isn't working @priority-medium labels Apr 24, 2021
@teogor teogor self-assigned this Apr 24, 2021
@teogor
Copy link
Member Author

teogor commented Apr 24, 2021

Add -keepclassmembers enum * { *; } inside your proguard files

@teogor
Copy link
Member Author

teogor commented Apr 24, 2021

Or for each enum type set @SerializedName("name")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@bug Something isn't working @priority-medium
Projects
None yet
Development

No branches or pull requests

1 participant