From cf7e7b952897c715205bbe64a8888169eb258eb6 Mon Sep 17 00:00:00 2001 From: Christian Rowlands Date: Thu, 16 Jun 2022 11:53:24 -0400 Subject: [PATCH] Updates for the 0.4.5 release --- MqttLibrary/build.gradle | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MqttLibrary/build.gradle b/MqttLibrary/build.gradle index 31cc4b3..178dafe 100644 --- a/MqttLibrary/build.gradle +++ b/MqttLibrary/build.gradle @@ -27,7 +27,7 @@ android { defaultConfig { minSdkVersion 24 targetSdkVersion 29 - versionCode 9 + versionCode 10 versionName version setProperty("archivesBaseName", "$applicationName-$versionName") diff --git a/README.md b/README.md index bb7d6af..cbe16cf 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The MQTT Connection Library provides a simple connection UI as well as logic to It is important to note that the pieces provided in the library cannot stand on their own. Most classes are to be extended or implemented, as an "MQTT Connection" relies on a service that drives the logic using the connection. We will go over the correct way to wire everything together below. 1. Ensure that the correct version of the library is included in the consuming project's `build.gradle` file, under its dependencies:

``` - implementation 'com.craxiom:mqttlibrary:0.4.4' + implementation 'com.craxiom:mqttlibrary:0.4.5' ``` 2. Next, for the connection UI, the `fragment_mqtt_connection` is readily available under `res/layout`; however, `AConnectionFragment` must still be extended, or `DefaultConnectionFragment`.
Note: Users can extend the latter if they do not wish to add extra UI components. Otherwise, extend `AConnectionFragment`, which contains methods marked with "additional" in their names and must be overridden in the child class.
  a. Whichever fragment ends up being extended, it will require a binder parameter. This binder should extend the provided `AConnectionFragment#ServiceBinder` in order to be recognized. Likely, this binder will be located in the `IMqttService` implementation of the consuming project. @@ -26,8 +26,8 @@ It is important to note that the pieces provided in the library cannot stand on ## Change log ##### [0.4.5](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.4.5) - 2022-06-16 - * Made MQTT connection fields protected so they can be manipulated from deriving classes - * Updated some dependencies + * Made MQTT connection fields protected so they can be manipulated from deriving classes. + * Updated some dependencies. ##### [0.4.4](https://github.com/christianrowlands/android-mqtt-connection-lib/releases/tag/v0.4.4) - 2022-06-11 * Added some defensive programming around the service being null when the mdm override switch is toggled.