Page MenuHomePhabricator

Add a tweak to send a Current Event notification
Closed, ResolvedPublic

Description

In order to do basic UX testing and be able to do visual tests and screenshots, we should add a tweak to send a notification.

Suggested behavior:

  • On Tweaks add a "Send News notification" item
  • When the user taps the item, queue a notification based on the last news item retrieved
  • When the app is backgrounded push the notification as usual

This will not test notification triggers or organic criteria.

Event Timeline

@JMinor the current implementation is such that when the switch is ON a notification is sent about a random story from the most recent feed card every time the app enters the background. I can make it only schedule it once and then flip the switch to OFF, but it seems like this is easier for testing a bunch of different content succession.

Every time makes sense for iterative testing.