Closed joycrwu closed 1 year ago
i think we need to store device tokens in sessions so that when a user logs out/the session expires, we can get rid of that deviceToken and not send notifications to it anymore should the user be also logged in elsewhere with other sessions active; i store it here so that i can identify which device token to remove on the user when this session expires
let's get rid of list of deviceTokens in user, and add semicolons at the end of each line
Overview
Implemented storing device tokens on the backend and sending notifications using the Expo API.
Changes Made
Test Coverage