The ActivityRecording.createSession with :autolap works properly in the Simulation but not in real testing. I tested with the Fenix7x, Fenix6x and Venu2.
Using a saved 400m Track Run session, the :autoLap works in the Simulation. Take the same source to the Track using actual GPS, it does not lap.
I created the box as required Exit[1, 2] and Entry [3, 4] as an Array of two Location objects. In the simulation, the listener callback SetTimerEventListener() is returning event 4(lap) as expected but not in real testing.
To verify Exit[1, 2] and Entry [3, 4] box, I visually created polyline of the box in the Map to show the crossing of the Exit[1, 2] and Entry [3, 4].
Related issue: the :autoStart does not work was well.
Snip from API
function createSession() { var session = ActivityRecording.createSession({ // set up recording session :name=>"Race", // set session name :sport=>Activity.SPORT_GENERIC, // set sport type :subSport=>Activity.SUB_SPORT_GENERIC, // set sub sport type :autoLap=>{ // auto lap configuration :type=>:lines, // auto lap using entry/exit lines :exit=>[loc1, loc2], // set exit of auto lap staging box (typically the finish line) :entry=>[loc3, loc4], // set entrance of auto lap staging box (typically before the finish line) :autoStart=>true // auto start using the entry/exit lines } });
Using connectiq-sdk-mac-4.2.1-2023-02-22-e37ebe5bb