-
Notifications
You must be signed in to change notification settings - Fork 152
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
Android support #213
Comments
Android should be added to the documentation |
Netty and JCTools can not be proguarded well, so add these proguard rules:
|
Works on API 24+ (Android 7.0+) Lambdas, method references, static and default methods can be compiled to lower versions by specifying:
Unfortunately |
Ignore this comment, Proguard 6.1 does not seem to work smoothly Proguard 6.1 supports backporting streams (including The following needs to be specified in gradle.properties:
The following needs to be specified in the top-level build.gradle:
The following proguard rule needs to be added:
Also other proguard rules are necessary, but it is not clear yet, which are necessary. |
So there is no way i can use following/similar on API level < 23 ?
|
The gradle plugin Android RetroFix can backport |
Wow cool. Thanks a lot. This MQTT Client Library is the best. |
Android Support is now documented here: https://hivemq.github.io/hivemq-mqtt-client/docs/installation/android.html |
The following has to added to the app build.gradle file
And of course this permission has to be added to the AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>
The text was updated successfully, but these errors were encountered: