Login issue with iOS SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey folks, I'm having an issue implementing the iOS Spotify SDK, my objective is to get the user’s spotifyAccessToken and spotifyRefreshToken, as it is now is partially working, if the user log in using the web browser everything works well, but when the user use the Spotify app the process is not completed, the methods of the SPTSessionManagerDelegate are not called in spite the fact the spotify app callback my app.
My current implementation is simple, I have a single class in charge to dealing with the configuration and initialization of the SDK for login and authorization purposes also this class implements the SPTSessionManagerDelegate methods.
Another point to mention is that I tried with the ruby server example discribed in the Github page but this approach didn’t work the SDK never call the server.
Info:
I took the SpotifyiOS.xcframework from the Spotify sample project hosted in: Spotify GitHub
Xcode version: 13.2.1
iOS target version: 14.0
Swift version: 5.0
I tested this behavior in physical device, any assistance will be helpful!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page