-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When the app receives a notification and the user clicks on it, we need a way for the app to determine what it should display to the user in response. This information will be passed via the message payload, but the current system doesn't support this.
In addition adding an optional "data" parameter to sendToTopic in firebase_funcs.ts, this issue includes determining what the schema for these payloads will look like. Unfortunately, there's not many more details to provide here, we need someone to do some architecting and make these design decisions. Please feel free to reach out to me with any questions.
This issue would be best for someone with some exposure to UX development and some JS/TS skills as you're going to need to make design decisions relating to those, but neither of those are required. This issue also does not require a solid understanding of Firebase functions.
IMPORTANT NOTE:
It's very important that we do NOT tell the user where they contracted the virus, this would be a major violation of our covenant with our users. For this reason, the fingerprint of the intersection location must be kept server-side only. Please ask myself or John Lo (he'll know more about this) for further details about what data we can/can't provide to the user.