FireflyMobile
FireflyMobile copied to clipboard
Fix crashing on launch due to R8
Fixes #235
Type of change
- [X] 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 https://github.com/streetcomplete/StreetComplete/issues/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.