Acknowledged

ActivityRecording createSession name=> not working in SDK 4

I have a problem with "name". This was working until I updated with SDK 4. Working with SDK 4.2.2 here's my code:

mSession = ActivityRecording.createSession(
{:name=>"Pickleball",
:sport=>ActivityRecording.SPORT_TENNIS});

The activity name used to be Pickleball now it is Tennis.

 I also noticed the compiler says SPORT_TENNIS has been depreciated. There is no indication in the API documentation about this? I tried changing it to SPORT_GENERIC and the compiler again says the label is depreciated. However when I run it the name is Pickleball. Seems like a bug to me. When will this be fixed?

  • A user reported it on a Fenix 5. It also fails on my Vivo Active 3. It doesn't seem to be related to a specific watch. I'm looking at the activity in the app on my android phone, not on the website. I want to use  SPORT_TENNIS because it is a racket sport.  Here is what my user had to say.

    So here's my question. Recently, a qlitch started happening once I've finished a pball session and my watch 
    syncs with the Connect app on my Samsung android phone. This just started happening last week.
    When I open the Connect app, the activity shows up as Tennis rather than Pickleball.
    Also the activity block color has changed to green. It used to be red. The stats and list of games and scores
    are all still showing just fine. I'm not too concerned about the red having changed to green.
    But why does pickleball now show up as tennis?
  • Which device?  My apps built with 4.2.2 are showing the name (from createSession) as I expect.  On both the Garmin Connect website and GCM/A