H

Habitter

A series of push notifications to build habit

When the execution time of the first todo is changed, the execution time of all subsequent todo's will also be changed.

I added a function for this one.
So many firestore fetches are gonna be called 😇

get and use the user's timezone to check if we should send a push notification

https://github.com/taishikato/habitter-functions/blob/main/functions/src/index.ts

Get the user's timezone and save it on Firestore

dayjs.tz.guess() // Asia/Tokyo

Made a function to check and send a push notification every minute 🔥

https://github.com/taishikato/habitter-functions/blob/main/functions/src/index.ts
  • ◄ Previous
  • Next ►