Skip to content

Commit

Permalink
6.5.0 - Fix issues detecting HRV
Browse files Browse the repository at this point in the history
  • Loading branch information
dliedke committed Jan 2, 2024
1 parent ad49af7 commit 19d79f8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Meditate/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- This is a generated file. It is highly recommended that you DO NOT edit this file. -->
<iq:manifest xmlns:iq="http://www.garmin.com/xml/connectiq" version="3">
<iq:application entry="MeditateApp" id="9abb375dcf7c4ace87ff66f4f774f6c8" launcherIcon="@Drawables.launcherIcon" minSdkVersion="3.0.0" name="@Strings.AppName" type="watch-app" version="6.4.0">
<iq:application entry="MeditateApp" id="9abb375dcf7c4ace87ff66f4f774f6c8" launcherIcon="@Drawables.launcherIcon" minSdkVersion="3.0.0" name="@Strings.AppName" type="watch-app" version="6.5.0">
<iq:products>
<iq:product id="approachs62"/>
<iq:product id="approachs7042mm"/>
Expand Down
2 changes: 1 addition & 1 deletion Meditate/resources-deu/strings/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<string id="HRVready">HRV Bereit</string>
<string id="HRVoff">HRV aus</string>

<string id="about_AppVersion">Meditate 6.4.0</string>
<string id="about_AppVersion">Meditate 6.5.0</string>
<string id="about_vtrifonov"> vtrifonov</string>
<string id="about_dliedke"> dliedke</string>

Expand Down
2 changes: 1 addition & 1 deletion Meditate/resources-por/strings/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<string id="HRVready">VFC Pronto</string>
<string id="HRVoff">VFC Deslig.</string>

<string id="about_AppVersion">Meditate 6.4.0</string>
<string id="about_AppVersion">Meditate 6.5.0</string>
<string id="about_vtrifonov"> vtrifonov</string>
<string id="about_dliedke"> dliedke</string>

Expand Down
2 changes: 1 addition & 1 deletion Meditate/resources-spa/strings/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<string id="HRVready">HRV Listo</string>
<string id="HRVoff">HRV apagado</string>

<string id="about_AppVersion">Meditate 6.4.0</string>
<string id="about_AppVersion">Meditate 6.5.0</string>
<string id="about_vtrifonov"> vtrifonov</string>
<string id="about_dliedke"> dliedke</string>

Expand Down
2 changes: 1 addition & 1 deletion Meditate/resources/strings/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<string id="HRVready">HRV Ready</string>
<string id="HRVoff">HRV off</string>

<string id="about_AppVersion">Meditate 6.4.0</string>
<string id="about_AppVersion">Meditate 6.5.0</string>
<string id="about_vtrifonov"> vtrifonov</string>
<string id="about_dliedke"> dliedke</string>

Expand Down
9 changes: 8 additions & 1 deletion Meditate/source/MeditateApp.mc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,19 @@ class MeditateApp extends App.AppBase {

// onStop() is called when your application is exiting
function onStop(state) {
// Disable and remove listeners for heatbeat sensor
if (heartbeatIntervalsSensor!=null) {
heartbeatIntervalsSensor.disableHrSensor();
heartbeatIntervalsSensor.stop();
}
}

var heartbeatIntervalsSensor;

// Return the initial view of your application here
function getInitialView() {
var sessionStorage = new SessionStorage();
var heartbeatIntervalsSensor = new HrvAlgorithms.HeartbeatIntervalsSensor();
heartbeatIntervalsSensor = new HrvAlgorithms.HeartbeatIntervalsSensor();
var sessionPickerDelegate = new SessionPickerDelegate(sessionStorage, heartbeatIntervalsSensor);

return [ sessionPickerDelegate.createScreenPickerView(), sessionPickerDelegate ];
Expand Down

0 comments on commit 19d79f8

Please sign in to comment.