An open-source, React Native-based cycling computer! Track your ride metrics like speed, power, heart rate, and altitude in real time. Manage sensors easily, map your journeys, and look forward to amazing features like live shared data and tracking within your social ride groups. #ReactNative #OpenSource #CyclingTech 🚴♂️📲🌐
This adds a link to the strava activity on the RideSummary component.
A note about the strava API. When you upload an activity it returns the upload_id not the activity_id needed to construct a link. So to construct the link we use the stored upload_id to fetch the activity_id on the fly when the user clicks the view on strava link.
There are more efficient ways to do this but this is the simplest and it seems to work fine right now.
This adds a link to the strava activity on the RideSummary component.
A note about the strava API. When you upload an activity it returns the
upload_id
not theactivity_id
needed to construct a link. So to construct the link we use the storedupload_id
to fetch theactivity_id
on the fly when the user clicks theview
on strava link.There are more efficient ways to do this but this is the simplest and it seems to work fine right now.