Commit Graph

4 Commits (d9074aaa2c92f70367aaf8c15a145c8d706e7205)

Author SHA1 Message Date
jhugman 73fb13494c [fenix] EXP-2996 Add triggers for notifications (https://github.com/mozilla-mobile/fenix/pull/28627)
* Closes EXP-2996 - add tests for messaging triggers

* Closes EXP-2996 - add triggers for notifications

* Address reviewer comments

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
t-p-white 47c277606b [fenix] Bug 1809444: Add Worker to generate Notifications using Nimbus messaging (https://github.com/mozilla-mobile/fenix/pull/28605)
* For 1809444: Added a MessageNotificationWorker to poll Nimbus for new messages and create a notification configured using the highest priority new message (if available).

* For 1809444: Changes from PR review

Co-authored-by: t-p-white <t-p-white>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago
James Hugman 18141bffa3 [fenix] Address reviewer comments 1 year ago
jhugman 5ac1cd9b48 [fenix] EXP 2991: Add surface to messaging fml (https://github.com/mozilla-mobile/fenix/pull/28423)
* Move messaging fml to a separate file

* Add surface property to message data

* Get messages for just a single surface

* Add surface to messaging middleware

* ktlint

* Add tests for filtering by surface

* Add homescreen to default-browser message

* Move surface param to MessageActions instead of MessagingMiddleware

* Added computed property for surface to message

* ktlint

* Address reviewer comment

* Fixup tests

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 year ago