Page MenuHomePhabricator

Extend PlatformSpecificTools CommonCpp api with an API to retrieve notifications olm account storage path
ClosedPublic

Authored by marcin on Feb 20 2023, 3:21 AM.
Tags
None
Referenced Files
F3380453: D6773.diff
Wed, Nov 27, 11:53 PM
Unknown Object (File)
Tue, Nov 19, 9:38 PM
Unknown Object (File)
Mon, Nov 4, 8:39 AM
Unknown Object (File)
Wed, Oct 30, 7:57 AM
Unknown Object (File)
Wed, Oct 30, 7:57 AM
Unknown Object (File)
Wed, Oct 30, 7:57 AM
Unknown Object (File)
Wed, Oct 30, 7:57 AM
Unknown Object (File)
Wed, Oct 30, 7:57 AM
Subscribers

Details

Summary

This differential extends PlatformSpecificTools CommonCpp api with an API to retrieve notifications olm account storage path. It also implements it on iOS and in C++ on Android. Relevant native Java method is implemented in parent differential to this one and is called via JNI
in Android C++ implementation.

Test Plan

Call PlatformSpecificTools::getNotificationsCryptoAccountPath() in NotificationService.mm and in AppDelegate.mm. This tests iOS. Call it somewhere in SQLiteQueryExecutor or CommCoreModule. This tests on Android (and iOS as well).

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-2901
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

marcin added 2 blocking reviewer(s): bartek, kamil.

Adding @bartek as blocking since he is native expert and adding @kamil as blocking since I am using an API that he implemented.

marcin published this revision for review.Feb 20 2023, 4:43 AM
This revision is now accepted and ready to land.Feb 22 2023, 2:11 AM
native/android/app/src/cpp/PlatformSpecificTools.cpp
52 ↗(On Diff #23318)

I'm not sure why, but this doesn't appear to be working. See here and here

native/android/app/src/cpp/PlatformSpecificTools.cpp
52 ↗(On Diff #23318)

Ignore, this was incorrect