eclipse-paho / eclipse-paho/paho.mqtt.java
Android ProGuard/R8 rules?
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Please fill out the form below before submitting, thank you!
- [x ] Bug exists Release Version 1.2.4 ( Master Branch)
Hi, first to be clear, I'm using this Java library directly in Android, I'm NOT using the "Android Service" library.
With that said, library breaks when I activate ProGuard/R8 on release builds, because some classes are missing and/or are renamed..
Around the internet I find solutions like
`-keep class org.eclipse.paho.** { *; }`
and it seems to be working, but this is just a bad workaround because it just disables R8 on the whole library.
Can we get an actual specific minimal R8 rules for this library to work?
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.