mpclarkson / StravaSwift

A Swift wrapper for the Strava API v3
MIT License
102 stars 45 forks source link

Can't end BackgroundTask #25

Open juancrod opened 4 years ago

juancrod commented 4 years ago

Hi,

When I execute the code "Strava.authorize" in a iOS 13 iPhone, the log launch the following error:

Can't end BackgroundTask: no background task exists with identifier 2 (0x2), or it may have already been ended. Break in UIApplicationEndBackgroundTaskError() to debug.

That error makes the app doesn't retrieve the auth token from Strava api. However, if I execute the app in the iOS Simulator, it works fine.

Is there some extra configuration that It has to be set?