MaxHasADHD / TraktKit

Swift wrapper for Trakt.tv API.
MIT License
112 stars 37 forks source link

Sign out #33

Closed skarchmit closed 5 years ago

skarchmit commented 5 years ago

I tried implementing only the login and logout functionality from the example. I hit sign out and It deletes the accessToken, however when I click log in after signing out, it doesn’t present me with a login screen, but immediately dismisses the safariServices, retrieving the accessToken. What if I want to login with a different Trakt Account?

iOS 12.1.4

Is this a known issue?

Cleaning out cache manually from settings works, but not ideal since you can’t set up a one time cache nor clear it out for the used.

MaxHasADHD commented 5 years ago

SFSafariViewController's cache can't be cleared by your app as far as I'm aware unfortunately.