Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

Email / SMS push notifications #92

@mcplanner-zz

Description

@mcplanner-zz

Purpose:
To allow newcomers to receive an email or SMS alert when their Waiting Number is called.

Constraints:
Should not require a user account or password
Must work with email and SMS
Must require subscription confirmation
Must allow subscription cancellation
Must work with all supported languages
SMS messages are limited to 160 characters

Choices:
Only one Waiting Number allowed per subscription
No limit on subscriptions per email address or phone number
A single subscription can have both email and SMS notifications
If one subscription has both email and SMS notifications, unsubscribing from one will not affect the other

Nomenclature:
Waiting Number: the number a newcomer is tracking; issued by LASeGo
Subscription: A subscription connects one Waiting Number to a phone and/or email address.
Notification: The SMS or email message sent when a Waiting Number is called

Function A: Create a new notification
1 Require user to enter one Waiting Number
2 Require user to enter at least one of: email address, or phone number
3 Send a registration message to every subscribed notification channel.
⁃ SMS: “You have registered to receive notifications for LASeGO waiting number XXXX. Respond with YES to confirm.”
⁃ email: “You have registered to receive notifications for LASeGO waiting number XXXX. Click CONFIRM to confirm.”
4 Send a confirmation message to every subscribed notification channel.
⁃ SMS: “You are now confirmed to receive notifications for LASeGO waiting number XXXX. Reply with STOP at any time to cancel this notification.”
⁃ email: “You are now confirmed to receive notifications for LASeGO waiting number XXXX. Click UNSUBSCRIBE to cancel this notification.”
5 If the user does not confirm registration on the device, they will be not be subscribed.

Function B: Sending a notification
1 Push an alert as soon as the waiting number is first reported to the system.
⁃ SMS: “Someone reported seeing number XXXX at LASeGo at HH:MM on DD/MM. Respond with STOP to stop receiving notifications on this number.”
⁃ email: “Someone reported seeing number XXXX at LASeGo at HH:MM on DD/MM. You can continue receiving notifications about this number, or click UNSUBSCRIBE to stop.”
2 If the user responses with STOP/UNSUBSCRIBE, they will be removed from further notifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions