codeforbtv / cvoeo-app

The "Money on My Mind" app helps CVOEO's Reach-Up clients stay on track with their personal finance coaching.
Apache License 2.0
11 stars 4 forks source link

First inactivity interval at 3 weeks #132

Open kmeyersvt opened 5 years ago

kmeyersvt commented 5 years ago

The client said that the first reminder should be sent after 3 weeks with no activity when there are active goals. That reminder should say, "Hey there, remember us? Your Money on My Mind goals? Tap here, you've got this!"

doub1ejack commented 5 years ago

Ok, we could do this by creating a firebase function that loops through each user in the database, and checking for scheduled push notifications. When it finds a user with a create date older than 3 weeks (this should probably not be hard-coded) and determines that no notifications have been sent in the last 3 weeks it could add a generic "Hey there.." notification to the queue.

Some related decisions/actions are:

kmeyersvt commented 5 years ago

It's not the user create date, it's the last activity date, either from the user in the app or an update from OT.

On Fri, Nov 1, 2019, 9:46 PM Micah Mutrux notifications@github.com wrote:

Ok, we could do this by creating a firebase function that loops through each user in the database, and checking for scheduled push notifications. When it finds a user with a create date older than 3 weeks (this should probably not be hard-coded) and determines that no notifications have been sent in the last 3 weeks it could add a generic "Hey there.." notification to the queue.

Some related decisions/actions are:

  • ensure that when a new user is created, a create date is saved.
  • how/where should push notification records be stored?
  • how to indicate that they have been sent when we send them?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codeforbtv/cvoeo-app/issues/132?email_source=notifications&email_token=AI257HXABRNX77I2EISSISDQRTLV7A5CNFSM4IZFIJ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC4Q5IA#issuecomment-548998816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI257HXG7NYDJUGQSMXYVHDQRTLV7ANCNFSM4IZFIJ3Q .