You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2022. It is now read-only.
When publish a route to Strava, the name generated is not correct to the chosen activity type.
Example steps:
Publish route
empty name
and different type activity (ski, canoe, blabla)
The activity name is "Morning run", but you go ski.
Why that happens:
Step one: When uploading a route (gpx) without name, Strava generates the name depending on the time taken and the default sport configured in the profile. If your default sport is "Ride" and you do it in the morning (before 12:00 am) the name will be "Morning ride".
The second step that SimpleTracker does is to update the activity with providing "isMuted", "type" and clear the associated gear (user can fix it later). But name is still as the same from the first step.
The solutions
Put complex logic to determine "Morning, Lunch, Afternoon, Evening..." depending on the time taken, and add the chosen sport type. When send the update use the provided name.
Add a static name: for example "Activity", "Sport"
Workarounds
Provide a name when publishing to Strava
Mute the activity when publishing to Strava, and then edit in Strava the name
When publish a route to Strava, the name generated is not correct to the chosen activity type.
Example steps:
Why that happens:
Step one: When uploading a route (gpx) without name, Strava generates the name depending on the time taken and the default sport configured in the profile.
If your default sport is "Ride" and you do it in the morning (before 12:00 am) the name will be "Morning ride".
The second step that SimpleTracker does is to update the activity with providing "isMuted", "type" and clear the associated gear (user can fix it later). But name is still as the same from the first step.
The solutions
Workarounds