Introduce notifications crypto module to CommCoreModule
Summary:
This differential modifies CommCoreModule to work with notifications account that is persisted in SQLite. At the point of this diff notifications crypto
account exists in two places: in SQLite and in notifs storage. This isn't a mistake since only the one in SQLite will be used for cryptographic purposes since notifs
specific code only works with session. Next diff will remove notifs account from notifs storage.
Test Plan:
- Uninstall comm app from iOS/Android device.
- Apply this patch and build the app: https://gist.github.com/marcinwasowicz/47964be1bd6aeaabc5504b3fa440f340
- Tap each button that the patch introduces. Ensure that keys are logged to console.
Reviewers: michal, kamil, varun
Reviewed By: kamil, varun
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11232