Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support additional types of push notifications #840

Merged
merged 2 commits into from
Dec 6, 2021

Conversation

shankari
Copy link
Contributor

@shankari shankari commented Dec 3, 2021

New types are:

  • popup: which displays a short text-only message as a popup
  • website: which displays a webpage in an in-app-browser

Also, rename the send_survey script to reflect the new functionality

Note that we can potentially EOL the existing notify type and replace it with popup
We may not need website and instead use survey without the UUID replacement, but this seems to have better usability.

Concretely:
- "popup": which is a short and simple message that does not have any associated images
- "website": which opens the website in a separate In-App-Browser but without
  the additional complexity from the survey code. Not sure whether website is
  strictly necessary since survey without any parameters should also work, but
  adding it may increase usability

+ sample specs for both kinds of pushes
Since we use it to send:
- surveys: which support filling in certain fields with the UUID
- notify: which essentially just displays the title and message (not sure if we
  still need this given the popup support)
- popup: displays a short text-only message as a popup
- website: launches a separate website in an IAB (not sure if we need this or
  should we reuse/rename survey instead)
@shankari shankari merged commit 68c0df4 into e-mission:master Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant