Back

Devlog: month break, and Freebites v1.0.4!

Hi! It’s been a while, and that’s because I’ve taken a break, since coding is a lot of work.

Just Kidding.

Yeah no, I’ve been busy. I was locking in on some more job application stuff, which I can’t really write about, and then Freebites finally started its launch onto new platforms! It’s been a while ride setting all of that up, which I’ll get into in a bit. I’ll honestly probably split each topic into its own little post later, as delving into each issue will take a while and is probably a boring read.

Freebites is an organization now!

I’ll start with the easiest to understand update - we got our Apple Developer account situated transferred into an organization account! So now Freebites doesn’t say “Clarence Yeh” anymore, it says “Freebites”!

Woohoo!

v1.0.4

Freebites v1.0.4 doesn’t have a lot of flashy visual updates, but instead has a lot of infrastructural and backend updates. Unfortunately, that means I don’t have a lot of visuals for you(whoever’s reading this), but I’ll do what I can.

If you’ve been reading my earlier posts, you’ll see that I’ve mostly been working on the website with Owen, leaving the brunt of the app work to the current leads, Manuel and Keiji. Over the last few weeks, Owen and I got called in to prepare the app for full release - there were some things that needed working on.

Difficulties with having your own `npm` package

We ran into multiple difficulties when working with the freebites-types npm package that I created better to sync our types across the website and mobile app. I should’ve just used Prisma…

We had difficulties in building on the cloud - we had to remember to give correct permission issues. It was here that I learned about Service Account permissions, the identity-based permissions that Google Cloud uses. Apparently, I wasn’t granting access to secrets correctly or something, and we got a lot of build failures…

Yeah… was going slightly insane at 1 AM. It’s annoying to have to iterate on the cloud - building locally via Docker (we containerize on Docker and build on Cloud Run) didn’t run into any of these issues…

Secondly difficulty was building for Expo. That was a pain to manage, and I wish I could screenshot the sheer amount of builds we failed over those couple of days. Gradually, sorting out package issues and .npmrc generation issues, we managed to whittle those down and get ready for development.

I become an email expert

Something else I was in charge of was trying to figure out why in the goddamn hell every single one of our transactional emails (for email verification) was going into spam. We could simply have a “check spam!” notification, but we noticed that like 50% of people weren’t getting past that step.

I sent an email to one of those spam checkers, and lo and behold, we had a couple of email delivery red flags: Yikes…but these were fixable, right?

I had to log and manage some domain validation stuff, but emails still got delivered to spam. So I signed, took out the wallet, and decided to switch over to Postmark for our new email service, which worked perfectly well.

Now, Postmark emails go to spam for Northeastern and we got a bounce on a Harvard signup, which is pretty bad, but we’ll figure that out…

Anyway, that’s what I’ve been up to for the last couple of weeks on the development side.

Signing off!