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

Fix crashing on launch due to R8 #247

Closed
wants to merge 1 commit into from

Conversation

kirmanak
Copy link

Fixes #235

Type of change

  • Bug fix
  • New feature
  • Translation

This PR adds default proguard rules provided by Android SDK. Without these rules, important methods and classes get removed, for example Parcelable implementation of FragmentManagerState. Additional information can be found in streetcomplete/StreetComplete#2003.

I tried to keep the configuration that was specified in postprocessing {} block as it is not compatible with default proguard rules. Let me know if there are any changes.

Also, I bumped Java version to 11 as the proguard issues reported in #192 should be fixed with default rules. I don't experience any crashes on release build with that setup.

@kirmanak kirmanak closed this by deleting the head repository Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant