Access token missing in SceneDelegate callback
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan:
Premium
Country:
USA
Device
iPhone 7
Operating System
iOS 13.4.1
I've been working on changing my test app to use token swap. I modeled the client after the example here: (https://github.com/spotify/ios-sdk/tree/master/DemoProjects/SPTLoginSampleAppSwift/SPTLoginSampleApp...). Since my app is newer it uses SceneDelegate instead of AppDelegate. When I get the callback to func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>)
I do the following:
let parameters = appRemote?.authorizationParameters(from: url);
let access_token = parameters?[SPTAppRemoteAccessTokenKey]
but there are no parameters. What could cause this? Is there some way to enable more debugging output?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page