iosswiftxcodexcode-extensionios-urlsheme

How Spotify and Google’s Waze integration component works?


Lately, I have seen that Waze shows a Spotify's button on top of its map. I was wondering how does it work?

enter image description here

At first, when you press the Spotify button you are getting redirected to Spotify via an url-scheme (probably spotify://waze?example) then you approve the use and get back with a session (with a waze://) I guess.

So I understand the binding process but how does the Spotify component work inside the Waze app. Let's say I'm pressing the pause button or next song. What's happen?

One thing I have noticed. To resume playing go to the next song or add to favorites they are using some other functionality that I don't recognize


Solution

  • It's two-way integration between the services according to the Waze Official Blog + iOS

    Also, Spotify has Spotify iOS SDK which allows you to implement some features in your own apps.