Page MenuHomePhabricator

Implement native method to update badge count and use it in JavaScript
ClosedPublic

Authored by marcin on Jan 25 2023, 12:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 25, 5:15 AM
Unknown Object (File)
Mon, May 13, 1:51 AM
Unknown Object (File)
Apr 17 2024, 4:58 AM
Unknown Object (File)
Apr 17 2024, 4:58 AM
Unknown Object (File)
Apr 17 2024, 4:58 AM
Unknown Object (File)
Apr 17 2024, 4:58 AM
Unknown Object (File)
Apr 17 2024, 4:58 AM
Unknown Object (File)
Apr 17 2024, 4:53 AM
Subscribers

Details

Summary

This differential implements native method to update application badge count and uses it in JavaScript. Relevant types are adjusted as well.

Test Plan

Build the app. Send several messages, open the app but do not read messages. Close the app and ensure that there is unread badge on app icon. Open the app, read messages and close the app.
Ensure that badge disappears from app icon.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 26 2023, 2:49 AM