This differential implements two JSI calls that can update unread counts for keyservers in MMKV and remove keyservers from MMKV.
Details
Details
- Reviewers
bartek tomek - Commits
- rCOMMf55923678396: Implement JSI to handle unread count from JS
- Apply this patch to the code: https://gist.github.com/marcinwasowicz/72f1a3ca842f9ad5e92c59dec67b7eda. This patch adds changes that use those two JSI in a "dirty" way in JS and that query MMKV for keyserver unread counts from NSE.
- Build the app and keep it in foreground.
- Open web app on the same client and keep marking threads as read and unread. Ensure that logs in Android studio/MacOS console app contain correct values for unread counts.
- Background the app and repeat step 3. Ensure that logs in Android studio/MacOS console app contain the last value logged in step 4. This is expected - JS doesn't update MMKV in the background.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp | ||
---|---|---|
867 ↗ | (On Diff #37065) | How about keyserverUnreadCountKey? |