HomePhabricator
Diffusion Comm 4e11a2611ec4

[native/iOS] initialize database on app start

Description

[native/iOS] initialize database on app start

Summary:
This code will initialize db on iOS.
Context in ENG-2071

Test Plan:
Tested on simulator and iOS.

  1. Created malformed db (e.g. simulate bug described in ENG-1910)
  2. Open the app - should be terminated
  3. Open again - app should delete database and perform soft-logout and continue running with proper structure

Reviewers: marcin, tomek

Reviewed By: marcin, tomek

Subscribers: ashoat, tomek, atul

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

Details

Provenance
kamilAuthored on Dec 22 2022, 2:13 AM
Reviewer
marcin
Differential Revision
D5996: [native/iOS] initialize database on app start
Parents
rCOMM54db816d9eb9: [native] clear database when malformation is detected
Branches
Unknown
Tags
Unknown