Page MenuHomePhabricator

[lib][web][native] refactor `getClientDBStore` to be part of SQLiteAPI
ClosedPublic

Authored by kamil on Thu, Apr 3, 3:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 6:09 AM
Unknown Object (File)
Fri, Apr 18, 8:31 PM
Unknown Object (File)
Fri, Apr 18, 8:10 AM
Unknown Object (File)
Thu, Apr 17, 9:14 PM
Unknown Object (File)
Thu, Apr 17, 1:25 PM
Unknown Object (File)
Wed, Apr 16, 9:42 PM
Unknown Object (File)
Mon, Apr 14, 9:16 PM
Unknown Object (File)
Mon, Apr 14, 7:52 PM
Subscribers

Details

Summary

ENG-10473

We're now able to call it from /lib and we have a consistent approach.

Depends on D14524

Test Plan

Close and open web/native app to make sure it still works

Diff Detail

Repository
rCOMM Comm
Branch
backup-publish
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Thu, Apr 3, 3:53 AM
kamil added inline comments.
native/database/store.js
66

This file is copy-pasted, the only change is this line. Previously, we had a bug because of passing communities - I have no idea why Flow failed to catch it

web/redux/initial-state-gate.js
73

As you can see in store.js, on web this was hardcoded to null

This revision is now accepted and ready to land.Thu, Apr 3, 4:42 AM