diff --git a/apps/android/ChangeLog b/apps/android/ChangeLog index f1107fc84..f616e0286 100644 --- a/apps/android/ChangeLog +++ b/apps/android/ChangeLog @@ -39,4 +39,5 @@ Allow `calendar-` to take an array of items to remove 0.37: Support Gadgetbridge canned responses 0.38: Don't rewrite settings file on every boot! -0.39: Move GB message handling into a library to reduce boot time from 40ms->13ms \ No newline at end of file +0.39: Move GB message handling into a library to reduce boot time from 40ms->13ms +0.40: Ensure we send health 'activity' message to gadgetbridge (added 2v26) diff --git a/apps/android/boot.js b/apps/android/boot.js index 18297d84f..37550cdd0 100644 --- a/apps/android/boot.js +++ b/apps/android/boot.js @@ -32,7 +32,7 @@ setInterval(sendBattery, 10*60*1000); // Health tracking - if 'realtime' data is sent with 'rt:1', but let's still send our activity log every 10 mins Bangle.on('health', h=>{ - require("android").gbSend({ t: "act", stp: h.steps, hrm: h.bpm, mov: h.movement }); + require("android").gbSend({ t: "act", stp: h.steps, hrm: h.bpm, mov: h.movement, act: h.activity }); // h.activity added in 2v26 }); // Music control Bangle.musicControl = cmd => { diff --git a/apps/android/metadata.json b/apps/android/metadata.json index 584c071cf..2c38de5cf 100644 --- a/apps/android/metadata.json +++ b/apps/android/metadata.json @@ -2,7 +2,7 @@ "id": "android", "name": "Android Integration", "shortName": "Android", - "version": "0.39", + "version": "0.40", "description": "Display notifications/music/etc sent from the Gadgetbridge app on Android. This replaces the old 'Gadgetbridge' Bangle.js widget.", "icon": "app.png", "tags": "tool,system,messages,notifications,gadgetbridge",