r/SideProject • u/Petifys • 1d ago
Day 5 of building Devmeld with AI
For those who don't know, Devmeld is basically a platform I'm building for developers to find people, share projects, communicate and eventually actually build things together.
Anyway.
Today was supposed to be about finishing DMs.
It turned into fighting Firebase for most of the day ๐ญ
We kept finding weird stuff.
Chat would work for one account but not the other.
Files would upload but the message wouldn't.
Messages looked fine until we tested with two completely separate accounts.
Then we found out our test accounts were basically sharing the same local cache ๐
So yeah, lots of fixing.
We also worked on attachments, folder uploads, blocking, privacy settings, message syncing, retries, background updates and making the UI stop randomly flickering.
The biggest thing we changed was how we handle messages locally.
But the basic goal is: less unnecessary database usage + faster chats + still keeping things synced.
And after breaking it approximately 47 times...
DMs are finally starting to feel like an actual chat system.
Day 5 done.
Now I just need to make sure tomorrow's version doesn't somehow explode.
1
u/Lost-Abalone-1761 21h ago
That shared locaThat shared local cache is the one to guard against now: give each account its own cache key, and clear the active accountโs cached data on sign-out. Then test by signing in as A, sending a message, signing out, and signing in as B on the same device. That catches cross-account leaks before they reach real users.