Watch App that creates a running session autolaps at (insert magic number here)

I reported earlier that a watch app that creates a running sessions detects strava live segments (https://forums.garmin.com/showthread.php?370682-Watch-App-detects-Strava-Live-Segments-(shows-dismiss-message-and-exits-app) )...

It appears to be worse than that as it also autolaps on my fr735xt every 1.61km (apparently 1 mile is the default internally? In all my running activity profiles I'm using metric units, so it's certainly not taken from there).

To reproduce: create a watch app which creates a default running session
if (session == null) {
session = Record.createSession({
:sport=>Record.SPORT_RUNNING,
:name=>"Run"
});
}
session.start();


Expected behaviour: if no laps are requested to be created from within the app, no laps should be created.

Related threads:
  • I got a "Contact Developer" on something that may be the same problem for a 735 and one of my apps, I didn't have a 735 to see it. In my case, the app does an addLap() if the apps Autolap is on, with the default being 1mi or 1km based on the units set on the watch. (the user was in statute, so 1m. The 1mi lap was marked correctly, but there was a second lap that could be as short as 0ft (and always small). I couldn't find anything, and it was only 1 user, and they were happy to just turns off autoLap in the app, or set it to 1/2 mile.

    But I bet what was happening, is for some reason the FW was marking it's own 1mi autolap, and then I was marking mine right after that (the 0ft thing)
  • Former Member
    Former Member
    Hey,

    I've got this logged with the device team. There were some other device platforms that had a similar issue a while back so I think it should be a fairly simple fix.

    Thanks,
    -Coleman
  • I had it in my initial bugreport, but having to post the bugreport in multiple go's due to the access denied forum posting bug it appears I forgot to repost that part... :)

    anyway the user that reported it to me had laps every 8.05k (=5 miles), so it might be an issue on other devices as well, I'll ask the user to post his device in this thread so that you can also create a ticket for his device.
  • With the 1 mile and 5 mile thing, could it be a difference in SPORT_* types being recorded? IIRC, while the default autolap for running is something like 1 mile, for cycling, it's 5 miles. Or maybe the 5 mile thing is on an Edge?
  • no I only do recording of running sessions in my app atm.
  • Fenix 3HR Sapphire

    Hi,

    My device is a Fenix 3HR. It auto creates a lap every 8.05 km when running Peter's app.
  • Former Member
    Former Member
    This is totally unverified, but my suspicion is that the last native sport profile the user used was a cycling profile. IIRC the cycling profiles will autolap at 5mi and running at 1mi. With multi-sport devices, it likely has both set and is pulling from the last native sport used. I've got a ticket made for the 735XT, but it looks like I need to make one for Fenix 3HR as well. Mickelin01, do you know if your last built in profile you used was Cycling?

    Thanks,
    Coleman
  • No cycling

    Not sure what you mean by native profile. If you mean the native Garmin apps, then the answer is no, I never used any cycling apps. The only other apps I've ever used are the Run and the Indoor run. Both have Auto lap set to 1km.
  • Former Member
    Former Member
    Hey,

    That is what I meant by native profile. Old terms from an old team. I apologize. That is really strange to me then that it would be using the 5mi mark. I'll update the ticket for the device team.

    Thanks,
    -Coleman
  • This bug has re-appeared, but this time on the va-hr with 3.90 FW. Recoding a SPORT_WALKING in a watch-app , and the FW inserted 1mile lap marks.

    I did the test based on this post in the forum:

    https://forums.garmin.com/forum/developers/connect-iq/1241494-auto-lap-triggering-in-iq