This talk presents how Spotify uses web technologies to develop and maintain key features in the different platforms that compose the Spotify experience: desktop client, mobile apps and the Web Player.
Hybrid apps is a hot topic nowadays, and we explain how our architecture abstracts a web developer from the platform, making it possible to share code across multiple devices.
In addition, we talk about how we communicate with the Spotify clients, using web technologies such as localStorage to sync between different tabs and postMessages to achieve cross domain communication. We will also analyze some browser inconsistencies and will show work-arounds to solve them.