Own product
Rediyo: Sri Lankan radio, built for CarPlay
A personal problem: my car’s radio couldn’t play Sri Lankan stations, but it supports CarPlay — so I built a CarPlay radio app for Sinhala, Tamil and English stations.
View on the App Store
- Company
- Own product
- Role
- Creator & sole developer
- Timeline
- Built in 1 month · 2026
- Platform
- CarPlay · iOS 26
- App Store
- Rediyo ↗
Overview
Rediyo started as a personal problem. My car is a Toyota Yaris imported from Japan: its built-in radio is made for the Japanese FM band, so it can’t tune in to Sri Lankan stations — but its infotainment system supports Apple CarPlay. So I built Rediyo for CarPlay: live Sri Lankan radio in Sinhala, Tamil and English on the car’s screen. The iPhone app is its companion, where you browse, search and pick favourites that then appear in the car. There’s no account and no sign-up; everything stays on the device.
The challenge
A car is an unforgiving place for an app. CarPlay can launch it with no phone screen at all, the interface has to be safe to use at a glance through Apple’s CarPlay templates, and playback must survive phone calls, tunnels and quick taps on the next station. Live streams come from many different broadcasters with no seeking, and the station list has to change without shipping an app update.
Screens

01 Home: favourites, recently played and every station, with search

02 Now Playing: live badge, station info and AirPlay

03 All stations, with the floating Liquid Glass mini player

04 Filters: languages come from the catalogue, not the code

05 Your Library: favourites

06 Your Library: recently played
What I did
- Built Rediyo for Apple CarPlay first, with Favourites, Recents and Stations tabs on the car’s screen.
- Designed and built the app myself in one month, with some help from Claude as a coding assistant: product, interface and an iOS 26 Liquid Glass design that’s dark-first, with a full light mode.
- Built the audio engine on AVFoundation, with lock-screen and Control Centre controls and live song titles read from the stream.
- Run a server-side station catalogue, so stations and even new languages can be added without an app update.
- Covered the features with 81 automated tests using Swift Testing and TCA’s TestStore.
Approach
- 1
CarPlay first, one store for both screens
CarPlay and the iPhone app share a single TCA store, so the car always shows the same station, queue and favourites you picked on the phone. Long-running work — player events, remote commands, connectivity — starts at launch rather than when a screen appears, because CarPlay can open the app with no phone UI. Only the player feature talks to the audio system; every other screen just asks it to play.
- 2
An audio pipeline built for real life
The audio session is activated off the main thread, one request at a time, and a request token drops a slow activation if the listener has already picked another station. Playback resumes after calls, pauses when headphones are unplugged, and “resume” reconnects at the live edge, since live radio can’t seek. Song titles from the stream feed the lock screen and CarPlay.
- 3
A catalogue that lives on the server
Stations come from a versioned JSON catalogue, cached in SQLite and checked at most every two days. A cached list shows instantly while the app checks for updates, a failed refresh keeps the cache, and entries an older app version can’t read are skipped instead of breaking the list. Languages are data, not code, so a new language is just a catalogue change.
- 4
Artwork that never leaves a gap
Every station gets generated artwork from two brand colours, replaced by its logo once cached. Logos are prefetched after the catalogue loads, so Now Playing and CarPlay can draw them instantly, even on a slow connection.
Architecture
Results
1 month
To build it, for iPhone and CarPlay
3
Languages: Sinhala, Tamil and English
81
Automated tests with Swift Testing and TestStore
Stack
- Swift
- SwiftUI
- The Composable Architecture
- SQLiteData
- AVFoundation
- CarPlay
- Swift Testing
Takeaway
“I built Rediyo for my own drive, which made the edge cases personal: a call coming in, a tunnel, a quick tap on the next station at a red light. One source of truth for both iPhone and CarPlay, and content that lives on the server, kept those cases manageable — and testable.”