android / android/codelab-ongoing-activity
Looking for a working Proguard/R8 configuration
- Dominant language
- Kotlin
- Stars
- 15
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Please! 🙏
I need to know what R8/Proguard rules to use when setting `minifyEnabled = true` so that the Ongoing Activity notification still works? It doesn't seem to work out of the box and this sample which also seems to be the only source of information on this doesn't minify in release mode...
Long story short, when I implement Ongoing Activity in my wear app based on this guide it works on the emulators in debug and in releases ONLY when I disable minifying and shrinking. But that is not something I'm willing to release 😢
Contributor guide
Research direction
Reproduce the Ongoing Activity sample in a Wear app with minifyEnabled=true, using the guide and its release build configuration as the entry points. Compare debug and release behavior, then verify that the release build still works with shrinking and minification enabled and that the required R8/Proguard configuration is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100