Page MenuHomePhabricator

Bring badgeOnly property to Android notifs
ClosedPublic

Authored by marcin on Tue, Jul 2, 2:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 2, 6:02 PM
Unknown Object (File)
Tue, Jul 2, 6:02 PM
Unknown Object (File)
Tue, Jul 2, 6:01 PM
Unknown Object (File)
Tue, Jul 2, 6:01 PM
Subscribers

Details

Summary

This differential solves urgent issue: https://linear.app/comm/issue/ENG-8620/badge-only-notifs-are-broken-on-android-in-production. No need to change on client. If the Andorid client sees badgeOnly:'1' they will return early without displaying notification.

Test Plan
  1. Build Android app.
  2. Mark a thread as badge only in settings.
  3. Send notif from this thread. Ensure the notif is delivered.
  4. Apply this diff.
  5. Send notif from this thread. Ensure that the notifs is not delivered.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek published this revision for review.Tue, Jul 2, 2:38 AM
tomek accepted this revision.
This revision is now accepted and ready to land.Tue, Jul 2, 2:38 AM
This revision was landed with ongoing or failed builds.Tue, Jul 2, 2:52 AM
This revision was automatically updated to reflect the committed changes.