← Portfolio GitHub
iOS App Retro

dj heartbeat

2024

The Premise

Music naturally uplifts a workout. If you work out a lot you might run out of music to listen to and if you don't work out a lot it might be motivating to find some new music that gets you moving.

So the premise overall is simple: help people find new workout music to help get them going.

The app's primary hook was blending heart rate data from workouts with the music you listen to during your workout. This combination, dubbed "a musical heartbeat", is the voting mechanism for the workout tracks you listen to; this voting mechanism surfaced a weekly playlist that live updated on Spotify as well as an in-app discovery surface for new tracks.

Key App Features

dj heartbeat app screenshots
dj heartbeat app in action

I really like this sync'd transition for tapping between this/last week's community heartbeat count, which also updated the currently displayed playlist.

Technical Overview: Primary Happy Path

dj heartbeat technical architecture
iOS SwiftUI Firebase Spotify API HealthKit

Technical Bits

Launch Story

I built the initial version of this app in a few weeks in early 2024, with a launch deadline targeting spring of 2024. Before I could launch though, I needed Spotify's review. The review didn't go through as planned because Spotify's review process was broken at the time; they refused to respond meaningfully to any inbound I sent them, including surfacing this issue in their developer forums and emailing their CEO (which triggered the only response from Spotify, an unsigned email that said they'd get back when they summer was over with updates to the review process).

I continue to work on the app, believing I'd be able to work things out with Spotify, but eventually had to give up on the app premise when Spotify refused to approve my app or work with me meaningfully. I pivoted part of the app to use Apple Music but due to privacy constraints on Apple Music the core premise around getting track listen-to timestamps didn't work.

Spotify developer forum post April 2024

Forum post from April 2024, three months into the review process… nine likes is a lot for these developer forums

What I'd Do Differently

Going into this app I knew the dependency on Spotify was a real risk. I still wanted to ship this app because I thought I really loved the premise and believed I'd be able to work through any hangups with Spotify, thinking they would work in good faith, if not promptly, with apps submitted to their review process. With that in mind I would have put the app into review and then moved to a different app while it was in review instead of continuing to work on it with the idea that it would get approved. That said going forward I'm taking the big learning around dependencies on third parties: If I don't have a clear path to approval or a direct contact at the company operating the review process, then I will simply not build an app for another platform.

Takeaways

Wishlists