0
votes

I have an application in the Apple app store that streams a live radio station and provides a list of tracks that have been played. The user can navigate to specific track in that list, tap a Spotify button and the user is directed into Spotify via Deeplinking, using the Spotify search route (example below):

spotify://search/artistName

This feature was working great (about 85% accuracy search on artist name) until recently. Spotify opens, but I receive a native alert:

Couldn't Open Link Spotify can't open this type of link on this device.

Did the search route change? Did Spotify disable this feature?

Spotify Alert

1
@AbhishekThapliyal Thats an example for going from the web to the native desktop application and not a search example, not the same for iOS, thanks for your response.dbergman

1 Answers

1
votes

Removing the // from the URL works for me: spotify:search:artistName. Example in Swift:

UIApplication.shared.open(URL(string: "spotify:search:pink+floyd")!, options: [:], completionHandler: nil)