HomePhabricator
Diffusion Comm 41de0a56c500

[native/CommCoreModule] add function check if database is malformed and needs…

Description

[native/CommCoreModule] add function check if database is malformed and needs deletion

Summary: Checks if flag in SecureStore equals SECOND_FAILURE which means database needs deletion.

Test Plan: Call this function from JS and should return true only when database status means that database initialization failed for the second time

Reviewers: marcin, tomek

Reviewed By: marcin, tomek

Subscribers: ashoat, tomek, atul

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