File tree 3 files changed +7
-1
lines changed
project/app/src/main/java/org/owntracks/android 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 8
8
- Hebrew Translation (thanks to Ahiel and Natan)
9
9
- Dutch Translation (thanks to all contributors)
10
10
- Setting a preference that doesn't actually change the value won't have any effects (such as MQTT reconnecting) (#1875 )
11
+ - Status messages contain the app version and flavour
11
12
12
13
### Bug fixes
13
14
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
5
5
import com.fasterxml.jackson.annotation.JsonInclude
6
6
import com.fasterxml.jackson.annotation.JsonProperty
7
7
import com.fasterxml.jackson.annotation.JsonTypeInfo
8
+ import org.owntracks.android.BuildConfig
8
9
import org.owntracks.android.preferences.Preferences
9
10
10
11
@JsonTypeInfo(
@@ -47,4 +48,8 @@ class AddMessageStatus {
47
48
@JsonProperty(" hib" ) var appHibernation = 0
48
49
49
50
@JsonProperty(" loc" ) var locationPermission = 0
51
+
52
+ @JsonProperty(" version" ) var version = BuildConfig .VERSION_CODE
53
+
54
+ @JsonProperty(" flavour" ) var flavour = BuildConfig .FLAVOR
50
55
}
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ constructor(
248
248
}
249
249
250
250
fun publishStatusMessage () {
251
- // Getting appHibernation takes a while, so lets not block the main thrad
251
+ // Getting appHibernation takes a while, so lets not block the main thread
252
252
scope.launch(ioDispatcher) {
253
253
messageProcessor.queueMessageForSending(
254
254
MessageStatus ().apply {
You can’t perform that action at this time.
0 commit comments