Skip to content

Commit

Permalink
Updates for the 0.4.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrowlands committed Jun 16, 2022
1 parent e5f997a commit cf7e7b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MqttLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
defaultConfig {
minSdkVersion 24
targetSdkVersion 29
versionCode 9
versionCode 10
versionName version

setProperty("archivesBaseName", "$applicationName-$versionName")
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<br><br>
```
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`.<br>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 <i>must</i> be overridden in the child class.<br>
&ensp; 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.
Expand All @@ -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.
Expand Down

0 comments on commit cf7e7b9

Please sign in to comment.