Closed FleetPhil closed 5 years ago
Oh, good catch! Looks like this is a recent change in the API. Any chances you could submit a pull request to update this?
I have made a number of fixes - also the library in its current form did not fully support the current OAuth token refresh mechanism. I’m not sure the author is monitoring the library so I made a branch into my repository. I'll take a look later today and try and gather together the changes into a pull request
Perfect, thank you! I made a few updates to fix OAuth token API changes.
Fixed in #15
Thanks @lludo for taking over managing this project.
Thanks from me too Now all my changes have been merged I’ve rebased my project onto the master and archived my fork. Special thanks for sorting out the token refresh mechanism, as a relative newbie Swift hacker it would have taken me much longer to get it to that state! If I find any more issues I’ll fork and raise a pull request
Class
Effort
is written expecting that Strava returns anActivity
property in aDetailedSegmentEffort
response. In fact the activity returned is an instance ofMetaActivity
that contains only an activity ID. This error means that the result returned in StravaSwift by anEffort
class does not contain a reference to a valid activity What is required is to add a class forMetaActivity
with the correct data