# 3693: a private music app in Flutter and Firebase

> How App369 founder Simon Dziak built 3693, a private Flutter music app on Firebase, and what a 103-finding QA pass and a TestFlight preflight taught him.

Canonical: https://app369.com/case-studies/3693-music-app/
Last updated: 2026-10-13

A private music app built with Flutter: search, a now-playing screen with lyrics, a queue, playlists, liked songs, a cloud library, listening stats and light and dark themes, on a typed Firebase backend.

**Simon’s role:** App369 founder Simon Dziak designed and built 3693 as his own product and made every commit in the repository. It is a private app for its owner and friends.

The problem

## **What 3693 Needed to Solve **

The repository's own QA report calls 3693 "a small private app (owner plus friends)". That changes the brief. There is no store growth target, so the work goes into the parts a listener feels: audio that keeps playing in the background, a queue that stays correct when someone taps next five times in a second, and a library that follows the account from one device to the next. The commit history shows two phases: a burst of features in February, then correctness and polish in August. A 103-finding multi-agent QA review in between shaped the August hardening, and the lessons below come from it.

The build

## **How It Was Built**

A Flutter app plays audio with just_audio and audio_service, so playback continues in the background and shows on the lock screen. GetX handles sign-in and routing, and a Provider-based player controller holds the queue and playback state. Hive keeps liked songs, recent searches, recently played tracks, playlists and settings on the device. Firebase Auth signs people in, and the cloud library and playlists live behind callable Cloud Functions written in TypeScript. Every function sits behind one auth wrapper that checks the caller before any code runs.

Features

## **What the Product Does**

### **Search and playback**

Search with recent searches and trending chips, a mini player, and background playback with lock-screen controls and a working scrubber.

### **Now playing**

A waveform seek bar, lyrics with the current line highlighted, shuffle, repeat, a sleep timer, a shader-based visualizer and haptic feedback.

### **Queue**

A queue screen where tracks can be reordered or swiped away, and a retry that skips to the next track when one fails to load.

### **Library**

Playlists, liked songs, recently played and a cloud library saved to the account.

### **Listening stats**

A stats screen with top songs, top artists and an hour-of-day heatmap, plus a card that can be shared.

### **Light and dark themes**

One palette object defines both themes, and the interface takes accent colors from the current artwork.

### **Accessibility**

Screen-reader labels, reduced-motion handling (with a test) and a layout for tablets.

Architecture

## **The Stack, Layer by Layer**

LayerWhat it does<dl>

<dt>**Client app**</dt>
<dd>Flutter and Dart. GetX for auth and routing, Provider for the audio controller, just_audio and audio_service for playback, Hive for local storage. The repository has about 18 screen files.</dd>

<dt>**Backend**</dt>
<dd>Cloud Functions (2nd gen) on Node.js 22 in TypeScript. Callable functions for account and profile, library and playlists, each with typed request and response interfaces and input validation.</dd>

<dt>**Auth middleware**</dt>
<dd>A requireAuth wrapper rejects unauthenticated calls and can also require a verified email or an admin flag. Handlers receive the verified user id rather than reading one from the request body.</dd>

<dt>**Security rules**</dt>
<dd>Firestore and Storage rules are kept in the same repository as the functions.</dd>

<dt>**Testing**</dt>
<dd>52 Flutter test files cover controllers, services, screens and widgets. A separate device walkthrough signs in, visits every screen in both themes and saves a screenshot of each.</dd>

<dt>**Release**</dt>
<dd>A preflight script gates TestFlight archives (see the lessons below).</dd>
</dl>

By the numbers

## **Verifiable Facts**

**Feb 2026**

First commit to the repository

**Aug 2026**

Most recent commit (August 15)

**42**

Commits, all by one author

**52**

Flutter test files, plus a device walkthrough

**103**

Findings confirmed by the multi-agent QA pass

Counted from the private source repository on October 13, 2026. This page makes no claims about listeners, installs or revenue.

Lessons

## **What Simon Learned Shipping It**

2. 01 ### **A test run can end up inside your release build** The device walkthrough runs with flutter drive, which rewrites the gitignored ios/Flutter/Generated.xcconfig so FLUTTER_TARGET points at the test file. An Xcode archive taken afterwards would ship the test as the app: it would sign in, flip themes and tap through tabs on its own. Nothing in the repository showed it. The fix is tool/release_preflight.sh, which regenerates the config from lib/main.dart, fails unless FLUTTER_TARGET is lib/main.dart, checks the analyzer and the tests, and prints the build number to bump.
3. 02 ### **Key things by id, never by title** The QA pass found song identity derived from the display title in many places: the now-playing highlight, the like button, the queue keys. Same-title songs collided. The worst case was listening stats, which were built on a box keyed by title, so a replay overwrote the earlier play and the counts were wrong. The report ranked it as the one critical finding.
4. 03 ### **Do not rebuild the tree on every position tick** The player was a single app-wide ChangeNotifier that notified listeners on each position update, about five times a second, so large parts of the interface rebuilt continuously while music played. The report also found animations and timers that never stopped when paused. The August commits worked through these in batches.
5. 04 ### **Have the polish reviewed by someone else** The QA pass was run by several AI agents across 12 areas, and every finding was re-checked against the code before it counted: 103 confirmed (1 critical, 7 high, 24 medium, 71 low). It also caught a build break, where the app's own RepeatMode enum collided with one newly exported by the Flutter SDK.
6. 05 ### **Replace a half-built feature with a real one** A high-contrast toggle saved its setting but no screen read it. The review caught it, and the August theme work replaced it with a single light/dark palette used by every screen.

Technologies Used

- Flutter
- Dart
- just_audio
- GetX
- Provider
- Hive
- Firebase Auth
- Cloud Functions
- TypeScript

Timeline

**February to August 2026 (commits from February 11 to August 15)**

Keep reading

## **More Case Studies**

[SaaS / Business software<h3>**Workspace369: a Flutter and Firebase SaaS for client work**</h3>An all-in-one workspace for freelancers and small service businesses: CRM, proposals, invoicing and payments, scheduling, a shared email/SMS/voice inbox, accounting and AI, in one Flutter app on iOS and the web. **Read Case Study **](https://app369.com/case-studies/workspace369/) [Field service software / Contractor CRM<h3>**QuoteIQ: a contractor CRM in Flutter, Nuxt and Firebase**</h3>A CRM for home service contractors: quotes, scheduling, invoices and payments, customer messaging and AI automations, on iOS, Android and the web. QuoteIQ is the client's app: on the App Store since September 2022, it is rated 4.7 from 3,400+ App Store ratings. **Read Case Study **](https://app369.com/case-studies/quoteiq/) [AI integration / Open source<h3>**saas-mcp-connector: a safe MCP server for a SaaS API**</h3>An MCP server that lets Claude Desktop, Claude Code and other MCP clients use a SaaS product's API safely. Every call is scoped to one user's workspace, writes need explicit confirmation, and the HTTP transport is rate limited. **Read Case Study **](https://app369.com/case-studies/saas-mcp-connector/) [iOS app / Mobile navigation<h3>**Workspace369’s iPhone tab bar: native Liquid Glass, measured to the point**</h3>The bar at the bottom of an iPhone app is the first thing people touch. This is how Simon made Workspace369’s look and feel like Apple’s own, and how measuring instead of guessing found a hidden 15-point overlap. Under the hood: Apple’s native Liquid Glass tab bar on iOS 26 and later, with a Flutter-drawn twin on older iOS, Android and the web. **Read Case Study **](https://app369.com/case-studies/workspace369-tab-bar/)

## **Want something similar at a fixed price?**

Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.

- [**Web App MVP Sprint**from $6,000A scoped web app MVP in Vue/Nuxt or React, with a fixed quote after a $450 written scoping.](https://app369.com/fixed-price/web-app-mvp/)
- [**App Fix Ticket**from $450One reproducible bug in an existing mobile or web app, diagnosed and fixed.](https://app369.com/fixed-price/flutter-firebase-bug-fix/)
- [**Monthly Dev Subscription**from $1,495/⁠monthOne development request at a time, most back in about 2 business days. Pause or cancel anytime.](https://app369.com/fixed-price/monthly-dev-subscription/)

Start here

## **Planning Something Similar?**

Simon builds Flutter and Firebase apps for startups and small businesses. Get a ballpark with the [app cost calculator](https://app369.com/tools/app-cost-calculator/), see [Flutter development](https://app369.com/service/flutter-development/), or tell him about your project.

[**Get in Touch **→](https://app369.com/contact/) [**See the Portfolio**](https://app369.com/portfolio/)