diff --git a/README.md b/README.md index 255c454d..0c12cfb9 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,15 @@ repositories { dependencies { - compile 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0' - compile 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1' + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0' + implementation 'org.eclipse.paho:org.eclipse.paho.android.service:1.1.1' } ``` __Note:__ currently you have to include the `org.eclipse.paho:org.eclipse.paho.client.mqttv3` dependency as well. We are attempting to get the build to produce an Android `AAR` file that contains both the Android service as well as it's dependencies, however this is still experimental. If you wish to try it, remove the `org.eclipse.paho:org.eclipse.paho.client.mqttv3` dependency and append `@aar` to the end of the Android Service dependency. E.g. `org.eclipse.paho:org.eclipse.paho.android.service:1.1.1@aar` +If you're using `androidx` dependency, include `androidx.legacy:legacy-support-v4:1.0.0` + If you find that there is functionality missing or bugs in the release version, you may want to try using the snapshot version to see if this helps before raising a feature request or an issue. ### Building from source