HomePhabricator
Diffusion Comm e146727f3343

Introduce and implement 'clearSensitiveData' method in CommCoreModule

Description

Introduce and implement 'clearSensitiveData' method in CommCoreModule

Summary: This differential introduces and implements method in CommCoreModule that clears Secure Store and SQLite.

Test Plan: Once this differential is applied 'clearSensitiveData' should be callable anywhere in JS and calling it in a random place should crash the app, with an error indicating that SQLite access is corrupted.

Reviewers: tomek, atul, jon

Reviewed By: tomek, atul

Subscribers: ashoat, adrian, abosh

Differential Revision: https://phab.comm.dev/D4729