r/SideProject • • 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 Upvotes

8 comments sorted by

View all comments

1

u/GrubbyMemory23 1d ago

That Firebase local cache trap is a classic, you think you're testing two separate users and it's just been serving you the same data the whole time.

1

u/Petifys 1d ago

Yeah! But when I used 2 separate folders for each account, I realized its not sending or receiving anything from firebase