Acknowledged

createSession bug - "name" parameter ignored.

Just noticed that NAME parameter is ignored in ActivityRecording.createSession when Kiteboarding activity is created. The name used by the app is replaced with "Kiteboarding".

Parents
  • Yes, I made a one line change to the record sample in the SDK - changed the activity name and sport on the createSession() line

    Creating a session is how you create the activity that is synced - when you do a session.start(), the recording to the fit starts.  when you do a session.save(), the fit file gets finalized, and then the fit file is what gets synced when it can (GCM or Garmin Express).  You are just looking at the summary data on the phone from the fit file sync.

    If you delete the fit file for the activity under garmin/activity <date><time>.fit before the sync occurs, there will be no sync.  In GC, you can export the original fit if needed, or as a TCX or GPX.

    I still don't understand where you used to see the name but aren't today, or if a specific device is involved.

Comment
  • Yes, I made a one line change to the record sample in the SDK - changed the activity name and sport on the createSession() line

    Creating a session is how you create the activity that is synced - when you do a session.start(), the recording to the fit starts.  when you do a session.save(), the fit file gets finalized, and then the fit file is what gets synced when it can (GCM or Garmin Express).  You are just looking at the summary data on the phone from the fit file sync.

    If you delete the fit file for the activity under garmin/activity <date><time>.fit before the sync occurs, there will be no sync.  In GC, you can export the original fit if needed, or as a TCX or GPX.

    I still don't understand where you used to see the name but aren't today, or if a specific device is involved.

Children