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
F3252707: D6378.diff
Fri, Nov 15, 6:32 PM
Unknown Object (File)
Fri, Nov 8, 6:50 PM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 AM
Unknown Object (File)
Fri, Nov 8, 3:02 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

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