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
  • 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.

    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?

Comment
  • 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.

    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?

Children
No Data