Menu

1 / 2

Hour-long voice notes don't fit in an email, so I stopped sending them

DEV Community: ios·Manuel Escrig·5 days ago
#8PUzsVuz
#devtoios#devto#dev#email#watch
Reading 0:00
15s threshold

Email Me does one thing: it sends a note to your own inbox. For years, a voice note was simply an audio file attached to that email. And that worked fine, until people started asking me to record meetings and lectures 😅

The 25 MB wall

Most email providers cap attachments at around 25 MB, and some of them strip or bounce big ones. An hour of speech at the app's old "high" setting (AAC mono at 22 kHz) is about 22 MB. That's already at the limit before any other attachment. On top of that, the recorder had a hard 5-minute cap in AVAudioRecorder , on both iPhone and Apple Watch.

A bigger attachment wasn't the answer. The real fix was to separate the audio from the email.

Audio as an asset, email as a notification

So I changed the rule: a recording is a durable file on the server, and the email just tells you about it.

The app uploads the audio to the server and gets back a URL.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.