-
May 27th, 2019, 01:09 PM
#4
Hi Terry,
Indeed there are potential issues when minifying with proguard an application based on the "full" version of LS Android SDK library.
We suggest excluding the class names from minification, as some parts of the library use Java reflection in a way that proguard may not detect.
We suggest adding the following restrictions in proguard-rules.pro (though narrower restrictions are certainly possible):
-keep class io.netty.** { *; }
-dontwarn io.netty.**
-keep class com.lightstreamer.** { *; }
-dontwarn com.lightstreamer.**
If small footprint is very important in your case, you can also consider the "compact" version of the LS Android SDK library.
See the library overview for details (https://www.lightstreamer.com/api/ls...client/latest/).
Regards,
Giuseppe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:50 AM.
Bookmarks