THIS WEEK'S SPONSOR:

Kolide

An Endpoint Security Solution for Teams That Want to Meet Compliance Goals without Sacrificing Privacy


Shazam’s Interactive Notifications on iOS 10

A rich Shazam notification in iOS 10. Also, a great song.

A rich Shazam notification in iOS 10. Also, a great song.

I was recently watching a movie with my girlfriend, and it had a great soundtrack. After scrubbing the video back to open Shazam on my iPhone for the third time, I remembered that Shazam offered an automatic tagging feature to let the app continuously listen in the background to recognize songs. Shazam’s auto-tagging isn’t meant to be active all the time, but we were home, with my iPhone charging next to me, and it seemed like a perfect time to try it.

To my surprise, Shazam started pushing tagged songs using iOS 10’s new notification framework. Their implementation is a great example of what developers can achieve with rich notifications: a notification can be expanded and you’ll be presented with a custom view showing the song’s title, artist, album artwork, and global number of Shazams by users. But that’s not all – you can also tap on the artwork to listen to a song’s preview inside the notification without opening the Shazam app. If you want to act on the notification, there are three quick actions (another change made possible by iOS 10) to buy the song, add it to a playlist on Apple Music, or share it.

Once I realized I could catch up on tagged songs from Notification Center, I left Shazam running and enjoyed the rest of the movie. At the end, I went through my notifications, listened to each audio snippet, and saved a few songs in my Apple Music playlists.

The final result would have been the same in iOS 9, but the experience wouldn’t have been as nice (or as fast) without rich notifications. I’m looking forward to more apps adopting similar notification features in the next few months.

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.